Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
You get good luck from rubbing the belly of a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic