Hello everyone, I'm a programmer in a big software project. We use Genexus(CASE) for programming and the source code is generated and compiled in Java, but the program have been originally compiled for Windows so the thousands (or more) reports use a dynamic library (dll) to show themselves graphically. There's a Linux version of the software, but doesn?t support such DLL, so the reports have to be exported to PDF (There're too many !!). That?s the reason I decided to use Wine to run the Windows version in a Ubuntu OS with the Java virtual machine 1.6u1(Windows version) and it successfully runned, conected and showed the reports without any problems excepting for the fact that when I tried to run it with this command: wine java.exe ?Xmx512M uentrad I receive the message : Error occurred during initialization of VM Could not reserve enough space for object heap. Without the modifier ?Xmx512M it runs perfectly but crash(or a least slow down) in some screens that actually needs that amount of memory reserved. This doesn?t happen in the Windows nor the Linux version running natively. Is this a Wine problem? Does Wine actually needs some sort of configuration or parameter in order to run this way? Please someone Help!!! PENTIUM 4 3.0GHZ Hyper Threading 2GB RAM DDR UBUNTU 9.10 KARMIC KOALA Wine 1.2 (Installed manually with wine1.2_1.1.38-0ubuntu1_i386.deb and all of it?s dependencies: cabextract_1.2-3_i386.deb, libmpg123-0_1.7.3-0ubuntu1_i386.deb, ttf-liberation_1.05.1.20090721-0ubuntu1_all.deb, ttf-mscorefonts-installer_3.0_all.deb, ttf-symbol-replacement_1.1.38-0ubuntu1_all.deb, ttf-tahoma-replacement_1.1.38-0ubuntu1_all.deb, winbind_3.4.0-3ubuntu5_i386.deb, wine1.2_1.1.38-0ubuntu1_i386.deb, wine1.2-gecko_1.0.0-0ubuntu3_i386.deb, wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb)
chamanx64 wrote:> Hello everyone, > I'm a programmer in a big software project. We use Genexus(CASE) for programming and the source code is generated and compiled in Java, but the program have been originally compiled for Windows so the thousands (or more) reports use a dynamic library (dll) to show themselves graphically. There's a Linux version of the software, but doesn?t support such DLL, so the reports have to be exported to PDF (There're too many !!). That?s the reason I decided to use Wine to run the Windows version in a Ubuntu OS with the Java virtual machine 1.6u1(Windows version) and it successfully runned, conected and showed the reports without any problems excepting for the fact that when I tried to run it with this command: > > wine java.exe ?Xmx512M uentrad > > I receive the message : Error occurred during initialization of VM > Could not reserve enough space for object heap. > > Without the modifier ?Xmx512M it runs perfectly but crash(or a least slow down) in some screens that actually needs that amount of memory reserved. This doesn?t happen in the Windows nor the Linux version running natively. > > Is this a Wine problem? Does Wine actually needs some sort of configuration or parameter in order to run this way? Please someone Help!!! > > PENTIUM 4 3.0GHZ Hyper Threading > 2GB RAM DDR > UBUNTU 9.10 KARMIC KOALA > Wine 1.2 (Installed manually with wine1.2_1.1.38-0ubuntu1_i386.deb and all of it?s dependencies: cabextract_1.2-3_i386.deb, libmpg123-0_1.7.3-0ubuntu1_i386.deb, ttf-liberation_1.05.1.20090721-0ubuntu1_all.deb, ttf-mscorefonts-installer_3.0_all.deb, ttf-symbol-replacement_1.1.38-0ubuntu1_all.deb, ttf-tahoma-replacement_1.1.38-0ubuntu1_all.deb, winbind_3.4.0-3ubuntu5_i386.deb, wine1.2_1.1.38-0ubuntu1_i386.deb, wine1.2-gecko_1.0.0-0ubuntu3_i386.deb, wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb)
>wine java.exe ?Xmx512M uentrad > >I receive the message : Error occurred during initialization of VM >Could not reserve enough space for object heap. >The error message should be a clue. You need more memory. There is a command that will show you how much memory is in use and where. Wine does need memory to run in and then you put the Java VM on top of that. You may be running out of physical memory.> >PENTIUM 4 3.0GHZ Hyper Threading >2GB RAM DDRMore memory, if you can go to 4GB that would be much better for this. James McKenzie
On Fri, 2010-02-26 at 11:17 -0700, James Mckenzie wrote:> >wine java.exe ?Xmx512M uentrad > > > >I receive the message : Error occurred during initialization of VM > >Could not reserve enough space for object heap. > > > The error message should be a clue. You need more memory. There is a command that will show you how much memory is in use and where. Wine does need memory to run in and then you put the Java VM on top of that. You may be running out of physical memory. > > > >PENTIUM 4 3.0GHZ Hyper Threading > >2GB RAM DDR > More memory, if you can go to 4GB that would be much better for this. > > James McKenzie >How big is your swap partition? Martin
Martin Gregorie wrote:> On Fri, 2010-02-26 at 11:17 -0700, James Mckenzie wrote: > > > > > > wine java.exe ???Xmx512M uentrad > > > > > > I receive the message : Error occurred during initialization of VM > > > Could not reserve enough space for object heap. > > > > > > > > The error message should be a clue. You need more memory. There is a command that will show you how much memory is in use and where. Wine does need memory to run in and then you put the Java VM on top of that. You may be running out of physical memory. > > > > > > > > PENTIUM 4 3.0GHZ Hyper Threading > > > 2GB RAM DDR > > > > > More memory, if you can go to 4GB that would be much better for this. > > > > James McKenzie > > > > > How big is your swap partition? > > > MartinHello Martin, Thanks for your answer. My Swap partition is 4GB.