Xwiki startup : best way to start xwiki

I have an xwiki installed on an ubuntu server that works very well. But every morning the xwiki demarage startup script stops working. Since I run the script as a background process, the kernel stops the script. After investigation, I noticed the process was using a lot of RAM memory that’s why the MOO memory killer fires.
I would like to know if there is another way to launch the script properly

Jovia N

What xwiki startup script are you using?

How much RAM is allocated to the application server is your decision actually, maybe you gave it too much.

I use a bash script that is generated after the installation of xwiki. start_xwiki.sh is the name of the script

OK so you used the demo package which is really not recommended for production among other things because the whole database end up in the memory.

For Ubuntu you might want to take a look at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT.

@tmortagne thank you