• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IntelliJ: How to increase memory: Java heap space error

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running IntelliJ 12.1.2 with Maven and am trying to use the Parameterized.class from Junit 4.11 to read in a .csv file containing 500 records and perform tests on each parameter (parameter is simply a relative url onto which I append a base url). I am getting a java.lang.OutOfMemoryError: Java heap space error.

I believe I have already increased the memory size in Info.plist and also Maven runner to max sizes but still no joy. Can anyone post the recommended / optimal solution for IntelliJ 12? Please note I am a beginner, so I don't know if what I am trying is already going to ask too much of resources.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you run that application from IntelliJ?
 
Dave Nice
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:How do you run that application from IntelliJ?

I use the r/h panel to run the maven goals so, 'Site', 'Clean', 'Deploy' etc...
Is this any different from running using command line?
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See if this helps then http://www.jetbrains.com/idea/webhelp/tuning-intellij-idea.html

Is this any different from running using command line?



The difference depends on what triggers the application and that decides where the memory configurations need to be done.
 
Dave Nice
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:See if this helps then http://www.jetbrains.com/idea/webhelp/tuning-intellij-idea.html

Is this any different from running using command line?



The difference depends on what triggers the application and that decides where the memory configurations need to be done.

OK thanks. Maybe I will try running direct from command line instead but I will try the link you mention too.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic