- Joined
- Mar 6, 2011
- Messages
- 22
- Reaction score
- 0
well i cant see any i have a bit for moopledev i could upload for further dev if people want it
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
Stop talking out of your arse. I wonder how you would even think that's possible; the JVM on Linux garbage collects as well as the Windows equivalent. I also wonder how the objects would allocate 10 times more memory on Linux...
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
Garbage collection is irrelevant to object size on the heap, however the collector may be better tuned on different platforms.
I doubt the object's memory on the heap are 10x that on the window's platform to begin with. Operating Systems don't really matter beyond the interfaces with it and the JRE (well... assigning virtual memory to processes is different in any case). It is all about what processor you have and how the heap is managed on it (i.e. 64-bit processors take 2x the memory on the heap than a 32-bit processor would). You can choose not to believe me, but honestly all memory usage specs you get from Java are unreliable since most of the process's memory is the Virtual Machine itself and not the actual application's allocation for the heap.
Note: Sorry for the one week bump, but this discussion was on the first page still.
So you're saying the VM reserves more memory than the application running on it? Couldn't you get the more accurate memory usage of the application with utilities like jmap or dtrace in that case?
((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) * 0.0009765625)
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
Not really, when I hosted it on a Linux computer, it took 600mb + per java process. Regardless of what it is. So it took 1.8GB only during startup.
It's definitely not the source as I'm able to run it on my computer with less than 100? or 200mb usage on startup.
I hosted it on a linux server before this, another source tho. It worked perfectly fine.
And, I also contacted customer support and they said they couldn't do anything. So I changed to a windows based host after that.