Originally posted by Jeffrey Spaulding:
Did you increase the memory footprint of Eclise?
Run eclipse.exe -vmargs -Xmx256m (or whatever your machine can give you)
Does it work when running outside of eclipse
If not start your vm with a bigger heap
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html
Originally posted by Sam Smith:
Oh wait java -Xmx256m works.
So is there any way to set things so I don't have to use this each time?
And if I increase this further will the program run any faster (it's really slow at such numbers)?
Is there a point that I shouldn't exceed for fear of breaking the computer?
Originally posted by Joe Ess:
Slow performance in your case may have something to do with your program managing 1,500,000 independent organisms.
Physically breaking it? No.
Bringing it to a crawl and possibly crashing it? Yes. As above, total up the memory requirements of all running processes and don't let that number exceed physical memory.
Originally posted by Sam Smith:
But, with an otherwise idle Windows XP machine (except for backgroup processes), 512 MB RAM, 7.2 GB free space on my hard drive, it shouldn't complain too much if I, say, use -Xmx512m, would it?
[ June 10, 2005: Message edited by: Sam Smith ]
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |