Gephi: Increasing xmx memory in NetBeans

Problem: When Gephi is run from NetBeans it does not appear to use NetBeans settings for heap memory xmx xms etc.

Solution: You need to overwrite these settings in the directory where you have gephi source-code:
../gephi/nbproject/project.properties

e.g.: run.args.extra=-J-Xms256m -J-Xmx10g -J-Dsun.java2d.noddraw=true -J-Dsun.awt.noerasebackground=true

You can double check that your arguments are read by looking at the Netbeans output window in which you should see something like:

Diagnostic information
Input arguments:
	-Djdk.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
	-Dnetbeans.system_http_proxy=DIRECT
	-Dnetbeans.system_http_non_proxy_hosts=
	-Dnetbeans.dirs=/Users/neil/Documents/neil/Research/Gephi/gephi
	0.8b/build/cluster:/Applications/NetBeans/NetBeans
	7.0.1.app/Contents/Resources/NetBeans/platform
	-Dnetbeans.home=/Applications/NetBeans/NetBeans
	7.0.1.app/Contents/Resources/NetBeans/platform
	-Dnetbeans.logger.console=true
	-ea
	-Xms256m
	-Xmx6g
	-Dsun.java2d.noddraw=true
	-Dsun.awt.noerasebackground=true
	-XX:+HeapDumpOnOutOfMemoryError
	-XX:HeapDumpPath=/Users/neil/Documents/neil/Research/Gephi/gephi
	0.8b/SemanticExpansionFilter/../build/testuserdir/var/log/heapdump.hprof

 

 

Search Keywords:
module modular project A java.lang.OutOfMemoryError exception has occurred. Click Show Details or see the messages.log file located in your /Users/neil/Documents/neil/Research/GraphSearch/code/gephibzr/gephi/build/testuserdir/var/log folder.

Memory error.  You need to increase the maximum memory settings (-Xmx) in the Gephi startup settings file.

Searched forjava xmx gigabyte megabyte

 

10:02am

spacer

Searched forjava xmx-

 

Viewed 1 resultViewed 1 result

 

 

spacerspacer

Not starred

 

Java -Xmx, Max memory on system – Stack Overflow-stackoverflow.com- Bookmark: edit – remove

 

Labels:

Notes:

stackoverflow.com/questions/1190837­/java-xmx-max-memory-on-system

10:02am

Not starred

 

JVM configuration, -xmx over 4 gb – Java Forums-java-forums.org- Bookmark: edit – remove

 

Labels:

Notes:

www.java-forums.org/…/30262-jvm-­configuration-xmx-over-4-gb.html

10:01am

spacer

Searched forjava xmx gigabytes-

 

Viewed 1 resultViewed 1 result

 

 

spacerspacer

Not starred

 

Controlling Java heap size (memory) allocation | java…-devdaily.com- Bookmark: edit – remove

 

Labels:

Notes:

www.devdaily.com/blog/post/…/java-­xmx-xms-memory-heap-size-control

9:58am

spacer

Searched forgephi xmx-

 

Viewed 1 resultViewed 1 result

 

 

spacerspacer

Not starred

 

Installing Gephi | Gephi, open source graph visualization…-gephi.org- Bookmark: edit – remove

 

Labels:

Notes:

gephi.org/users/install/

9:51am

spacer

Searched forJ XX MaxPermSize netbeans-

 

Viewed 2 resultsViewed 2 results

 

 

spacerspacer

Not starred

 

How to kill NetBeans performance : Charlie Hunt’s Weblog-sun.com- Bookmark: edit – remove

 

Labels:

Notes:

blogs.sun.com/charliebrown/entry/­how_to_kill_netbeans_performance

 

spacerspacer

Not starred

 

NetBeans IDE: Adding/Changing JVM command line args :…-sun.com- Bookmark: edit – remove

 

Labels:

Notes:

blogs.sun.com/charliebrown/entry/­netbeans_ide_adding_changing_jvm

9:46am

spacer

Searched fornetbeans run options-

 

Viewed 1 resultViewed 1 result

 

 

spacerspacer

Not starred

 

FaqNetbeansConf – NetBeans Wiki-netbeans.org- Bookmark: edit – remove

 

Labels:

Notes:

wiki.netbeans.org/FaqNetbeansConf

9:45am

spacer

Searched fornetbeans vm options-

 

Viewed 1 resultViewed 1 result

 

 

spacerspacer

Not starred

 

NetBeans Forums – VM Options not being recognized in…-netbeans.org- Bookmark: edit – remove

 

Labels:

Notes:

forums.netbeans.org/post-40341.html­&highlight=

9:23am

spacer

Searched fornetbeans VM options are not shown-

 

Viewed 3 resultsViewed 3 results

 

 

spacerspacer

Not starred

 

NetBeans Forums – VM options from the project properties…-netbeans.org- Bookmark: edit – remove

 

Labels:

Notes:

forums.netbeans.org/post-93343.html

 

spacerspacer

Not starred

 

Netbeans 6.7.1 does not have Project>Properties>Run>VM Options?-gmane.org- Bookmark: edit – remove

 

Labels:

Notes:

permalink.gmane.org/gmane.comp.­java.ide.netbeans.user/154779

 

spacerspacer

Not starred

 

Problem running my java app on Netbeans-velocityreviews.com- Bookmark: edit – remove

 

Labels:

Notes:

www.velocityreviews.com/…/t715592-­problem-running-my-java-app-on-­…

9:22am

spacer

Searched fornetbeans VM options

 

9:20am

Not starred

 

java – increasing heap size in netbeans.conf file – Stack…-stackoverflow.com- Bookmark: edit – remove

 

Labels:

Notes:

stackoverflow.com/questions/…/­increasing-heap-size-in-netbeans-co…

9:13am

spacer

Searched fornetbeans project xmx

 

9:11am

Not starred

 

Grails – user – OutOfMemory when starting app from within…-nabble.com- Bookmark: edit – remove

 

Labels:

Notes:

grails.1312388.n4.nabble.com/­OutOfMemory-when-starting-app-­…

Searched for netbeans xmx – Viewed 2 resultsViewed 2 results spacer spacer Not starred FaqSettingHeapSize – NetBeans Wiki – netbeans.org – Bookmark: edit – remove Labels: Notes: wiki.netbeans.org/FaqSettingHeapSize spacer spacer Not starred http://grails.1312388.n4.nabble.com/OutOfMemory-when-starting… – Bookmark: edit – remove Labels: Notes: grails.1312388.n4.nabble.com/­OutOfMemory-when-starting-app-­… 9:10am spacer Searched for gephi netbeans xmx 9:10am spacer Searched for gephi netbeanx xmx 8:59am Not starred 6 Common Errors in Setting Java Heap Size | Paul Gu|blog – paulgu.com – Bookmark: edit – remove Labels: Notes: blog.paulgu.com/2008/07/19/6-­common-errors-in-setting-java-heap… 8:58am Not starred NetBeans Forums – Application Client Xmx Ignored?? – netbeans.org – Bookmark: edit – remove Labels: Notes: forums.netbeans.org/topic4634.html 8:58am spacer Searched for netbeans module Xmx 8:46am spacer Searched for netbeans Xmx – Viewed 2 resultsViewed 2 results spacer spacer Not starred NetBeans Tuning JVM switches for performance – netbeans.org – Bookmark: edit – remove Labels: Notes: performance.netbeans.org/howto/­jvmswitches/ spacer spacer Not starred jGuru: How can I increase the memory which NetBeans uses?
This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Gephi: Increasing xmx memory in NetBeans

  1. Pingback: How can I set VM options in a Java Netbeans Platform Modular Project? - Programmers Goodies

  2. Pingback: How can I set VM options in a Java Netbeans Platform Modular Project? - Programmers Goodies

Leave a Reply

Your email address will not be published. Required fields are marked *


*