"Could not create the Java virtual machine" message during setup...
Thread poster: Grzegorz Gryc

Grzegorz Gryc  Identity Verified
Local time: 08:09
French to Polish
+ ...
Oct 14, 2011

Hi

I was installing Swordfish III on one of my Windows machines.
After some intents finished with the error message above I found a hack.

If you spot the seme problem:
- when the message is displayed, kill the setup application (in this way, the temporary setup files will not be deleted),
- find these files in the TEMP directory (in my case, they were placed in the WZSE0.TMP folder),
- find the MAX_MEMORY file (5 bytes) and open it in a text editor,
- replace the 999 value by a smaller one (e.g. 768 or 512) and save,
- run the Install.exe file.
Done icon_smile.gif

After the setup, it may be necessary to adjust this value in the Program Files\Swordfish III folder (the biggest working value below 999 should be used)

PS.
In theory, I had enough free memory on this machine but probably the setup was unable to find a contiguous free memory space.
IMO this value is far too big for the setup and should not be hardcoded in this way...

Cheers
GG


 

Piotr Bienkowski  Identity Verified
Poland
Local time: 08:09
Member (2005)
English to Polish
+ ...
Have you "phoned home"? :-) Oct 14, 2011

Rodolfo is very likely to read this forum, but it is also a good idea to send bug reports to tech-at-maxprograms.com

Regards,

Piotr

Grzegorz Gryc wrote:

Hi

I was installing Swordfish III on one of my Windows machines.
After some intents finished with the error message above I found a hack.

quote]


 

Rodolfo Raya  Identity Verified
Local time: 04:09
English to Spanish
You need memory Oct 14, 2011

Grzegorz Gryc wrote:
In theory, I had enough free memory on this machine but probably the setup was unable to find a contiguous free memory space.


If you can't run the installer in that computer, then you may have hard times running the program.


IMO this value is far too big for the setup and should not be hardcoded in this way...


It is not too big, it is selected on purpose.

If there isn't at least 1 GB of memory (real RAM or hard disk space that can be used for swapping), then the machine is not good for running Swordfish.

I guess that you were trying to install in a virtual machine. Try with a real computer instead.

Regards,
Rodolfo


 

Grzegorz Gryc  Identity Verified
Local time: 08:09
French to Polish
+ ...
TOPIC STARTER
Real machine... Oct 14, 2011

Rodolfo Raya wrote:

Grzegorz Gryc wrote:
In theory, I had enough free memory on this machine but probably the setup was unable to find a contiguous free memory space.


If you can't run the installer in that computer, then you may have hard times running the program.


It seems it works well with 768 MB MAX_MEMORY.
Tomorrow I'll try to find the max working configuration.

IMO this value is far too big for the setup and should not be hardcoded in this way...


It is not too big, it is selected on purpose.


I agree it may make sound for Swordfish itself but the setup should not need this amount of memory.
Initially, I put 512 MB and it worked flawlessly.
I suppose the setup would need far less than 512 MB, the problem is the MAX_MEMORY setting is global.

If there isn't at least 1 GB of memory (real RAM or hard disk space that can be used for swapping), then the machine is not good for running Swordfish.

I guess that you were trying to install in a virtual machine. Try with a real computer instead.


It was a real machine with 3 GB of RAM (Win XP SP3, IBM X60s, 500 GB HDD), only 1 GB of RAM used (after reboot).
I think the problem was related to memory fragmentation due to some resident software.
It happens sometimes but I rebooted several times with no success.

Cheers
GG

[Edited at 2011-10-15 13:03 GMT]


 

Grzegorz Gryc  Identity Verified
Local time: 08:09
French to Polish
+ ...
TOPIC STARTER
Just a solution... Oct 14, 2011

Piotr Bienkowski wrote:

Rodolfo is very likely to read this forum, but it is also a good idea to send bug reports to tech-at-maxprograms.com


You're probably right.
Nonetheless, I fixed it in 15-20 minutes, so it was not really critical for me but I think the solution may be useful for other people.
IMO the Swordfish users are able to google before they ask for support icon_smile.gif

Cheers
GG


 


To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Maya Gorgoshidze[Call to this topic]

You can also contact site staff by submitting a support request »

"Could not create the Java virtual machine" message during setup...

Advanced search






PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search