Subj : Re: Java in small-memory virtualized Linux environment To : comp.lang.java,comp.os.linux,aus.computers.linux From : Kieron Briggs Date : Thu Jul 08 2004 12:42 pm xarscw@tvrksy.com wrote: > |When I invoke the java process, it fails with the output: > | > | > Error occurred during initialization of VM > | > Could not reserve enough space for object heap > | > |The virtual server has 33MB of committed physical RAM, plus (in theory) > |up to 12GB of virtual RAM and swap. The system is RH9: > > I've found that current JVMs need a few hundred meg of memory to start. > 33MB may not be enough. I don't know how the virtualised memory works on > webcentral. What's the significance of the 33 MB? As I understand it (and I could be completely wrong I guess), my virtual server is guarenteed to have 33MB of its memory mapped into actual physical RAM at any one time, and may have up to 2GB mapped depending on system resource availability ('burstable'). From the /proc/meminfo output I believe that my virtual server has 4 GB of 'RAM', most of which will actually be on the physical machine's swap... .