out of memory on ant build - upping Xmx isn't working
843810Dec 3 2005 — edited Jan 11 2006Another developer had an ant build script for generating XML beans from an XSD. He can run it fine on his machine, but when I try to run it, I get an OutOfMemoryError. We both have 1 gig of RAM, and similar processors. We're running the ant build via Eclipse 3.1, with JDK 1.4.2.
I have watched the memory and CPU usage as the script is running, and the CPU maxes out, but the memory use never goes above 500k. I have looked in the eclipse.ini file, and I have Xms = 40; Xmx = 256. I have played with the min/max values pushing them all the way up to 1000M, but still no luck. I have also gone into the ant.bin file and through Eclipse to add memory parms directly to the ant script to no avail.
At this point, I'm just kinda miffed I can't figure it out, and every thread I can find on OOME problems suggest adjusting vmargs, but that ain't working.
Please feel free to email me directly - seank100(at)msn.com - (at) used to foil spam sniffers.