-
Curiosity About CPW
I set up my patcher for my 1.4.6 test server but as I was doing so I noticed my server kept getting out of memory errors. I read through the forums and found some tips to get it working but they didn't work, even changing the heap size. I eventually got it working by running my test server on bare minimum, just mysql, java and cpw running.
The thing that puzzles me is, my 1.3.6 client is a lot bigger than my 1.4.6 client and yet my patch server with only 2GB of ram & swap can process the 14GB 1.3.6 client, takes around 20 hours to do but it does it. So why does my test server with 8GB of ram & swap run out of memory with an 11GB 1.4.6 client?
Only real difference between the two is processor and ubuntu version, my patch server uses an i3 dual core and ubuntu 11.04. My test server uses an i5 quad core with ubuntu 12.04.
I realise this isn't really a development question or anything as there is no real problems to be solved but I would just like to understand why it happens, does 12.04 have some kind of memory leak issue?
-
Re: Curiosity About CPW
same was on my test [ C2D / 6gb ram ] server but i changed to cpw to 2048 > java -Xmx2048m < idk its help ...
-
Re: Curiosity About CPW
That's the thing though, I did that on my 8GB test server but I didn't do that on my 2GB patch server and it ran flawlessly. Only way to get it to finish on my 8GB test server was to shut down everything except mysql, java and cpw. My 2GB patch server had everything running, including apache and tomcat, on my 2GB patch server I just ran ./cpw initial.
Just curious as to way my patch server can run it perfectly with no modifications to java heap size but my test server cannot. As I said though I got it working, patcher is running fine and does everything it is meant to, just curious as to why one server can do what the other cannot with a 1/4 of the ram and a CPU less than half as powerful and 1/4 of the swap. Doesn't make sense :lol:
-
Re: Curiosity About CPW
Im currently having the same issue, testing a new release and cant seam to figure out why.... any advice, I mean it simple to close everything but the release is going to be in a all in one package so would like it to be as simple out of the box as possible..... any ideas?
Edited: as fgru suggested I switched the heap space and ran without issues. ^^