File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes IntelliJ: How to increase memory: Java heap space error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IntelliJ: How to increase memory: Java heap space error" Watch "IntelliJ: How to increase memory: Java heap space error" New topic
Author

IntelliJ: How to increase memory: Java heap space error

Dave Nice
Greenhorn

Joined: Jan 06, 2013
Posts: 12
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.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10046
    
163

How do you run that application from IntelliJ?

[My Blog] [JavaRanch Journal]
Dave Nice
Greenhorn

Joined: Jan 06, 2013
Posts: 12
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
Marshal

Joined: Jul 20, 2005
Posts: 10046
    
163

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

Joined: Jan 06, 2013
Posts: 12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IntelliJ: How to increase memory: Java heap space error