Jump to content
Excelsior Forums
Sign in to follow this  
legorreta

Out of Memory at running time application

Recommended Posts

Hi,

I have problems with an application generated with JET, in runnnig time show the error Exception: Out of Memory.

How can config the -Xms and -Xmx of jvm without re-generate the application, becose now are installed and can not sendit again to my customer.

Monitoring the task manager, at moment that the application have 60 MG of RAM show the error.

Thanks.

Share this post


Link to post
Share on other sites

Hello,

-Xmx analogue in JET is jet.gc.heaplimit runtime property.

You can set it at application launch time by setting JETVMPROP environment variable (it will affect all JET-compiled applications on user's machine) or by running the application through batch file like this:

-----------------------------------

SET JETVMPROP=-Djet.gc.heaplimit:100m

App.exe arg1 arg2

-----------------------------------

Please look there to find more information about JET runtime properties:

http://www.excelsior-usa.com/doc/jet410/jetw007.html#0238

and ways to specify them:

http://www.excelsior-usa.com/doc/jet410/jetw007.html#0237

Regards,

Pavel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×