Topic
  • 7 replies
  • Latest Post - ‏2013-08-28T15:56:44Z by AlexFleischer
davidoff
davidoff
55 Posts

Pinned topic java heap space in 12.5.1

‏2013-06-27T17:32:03Z |

Hello

After installing 12.5.1 on a test machine x64 with a huge amount of RAM (128 Go...), I ran several runs from the IDE without any problems. Today, I'm facing lots of Java heap Space exceptions running from the IDE (java.lang.OutOfMemoryError : java heap space)

I tried to set new values in the oplide.ini

-- launcher.XXMaxPermSize set to 1024m (instead of default 128m)

-Xmx1024m

The problem still occurs.

Cleaning the workspace through destroying the .metadata does not help either

What shall I do to get rid of this problems (besides running command line oplrun) ?

 

David

  • FredericDelhoume
    FredericDelhoume
    24 Posts

    Re: java heap space in 12.5.1

    ‏2013-06-28T08:25:58Z  

    Hi,

    You can try much more larger size for heap, for example -Xmx4096m or even larger as you have lots of RAM.

  • Nicolas33
    Nicolas33
    11 Posts

    Re: java heap space in 12.5.1

    ‏2013-07-25T09:55:01Z  

    Hi, I am interested with such problems.
    Where is the oplide.ini file ?

  • AlexFleischer
    AlexFleischer
    1270 Posts

    Re: java heap space in 12.5.1

    ‏2013-07-25T11:58:26Z  
    • Nicolas33
    • ‏2013-07-25T09:55:01Z

    Hi, I am interested with such problems.
    Where is the oplide.ini file ?

    Hi

     

    in CPLEX_Studio125\opl\oplide on my machine

     

    Regards

     

    Alex Fleischer

  • Nicolas33
    Nicolas33
    11 Posts

    Re: java heap space in 12.5.1

    ‏2013-07-25T12:13:16Z  

    Hi

     

    in CPLEX_Studio125\opl\oplide on my machine

     

    Regards

     

    Alex Fleischer

    Hi,

     

    I do not have the folder oplide in /CPLEX_Studio_AcademicResearch122/opl ..

    Should I add it?

  • AlexFleischer
    AlexFleischer
    1270 Posts

    Re: java heap space in 12.5.1

    ‏2013-07-25T14:46:49Z  
    • Nicolas33
    • ‏2013-07-25T12:13:16Z

    Hi,

     

    I do not have the folder oplide in /CPLEX_Studio_AcademicResearch122/opl ..

    Should I add it?

    Hi

     

    you may try to run the ide with

    oplide -vmargs, to customize the operation of the Java VM used to run the IDE. If specified, this option must come at the end of the command line.

     

    regards

  • Nicolas33
    Nicolas33
    11 Posts

    Re: java heap space in 12.5.1

    ‏2013-08-28T14:44:55Z  

    Hi

     

    you may try to run the ide with

    oplide -vmargs, to customize the operation of the Java VM used to run the IDE. If specified, this option must come at the end of the command line.

     

    regards

    Similar to this topic, I have always memory errors, using oplrun in command line.

    how to increase the memory in this case?

  • AlexFleischer
    AlexFleischer
    1270 Posts

    Re: java heap space in 12.5.1

    ‏2013-08-28T15:56:44Z  
    • Nicolas33
    • ‏2013-08-28T14:44:55Z

    Similar to this topic, I have always memory errors, using oplrun in command line.

    how to increase the memory in this case?

    hi

    what are your memory errors?

    can you try with cplex.threads=1 ?

    you can also have a look at doc

     

    you may use node files for instance

     

    regards

     

     

    regards