NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How increase the profiler's max heap size?

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
caalip



Joined: 15 Dec 2009
Posts: 7

PostPosted: Fri Jul 30, 2010 1:13 pm    Post subject: How increase the profiler's max heap size? Reply with quote

Hi all,

My program noramally takes a lot of memory. It often over 100 mb. When I try to profile, I hit a memory cap of 65mb. (See screen shot.) How do I set this memory cap higher? Normally, I run the program with no problems, so I think my normal memory settings are correct.

Grae

Screen Shot
http://www.freeimagehosting.net/image.php?10512ae709.jpg
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Tue Aug 10, 2010 5:29 pm    Post subject: Re: How increase the profiler's max heap size? Reply with quote

Hi Grae,

On 30 Jul 2010, at 15:13, caalip wrote:
Quote:

My program noramally takes a lot of memory. It often over 100 mb. When I try to profile, I hit a memory cap of 65mb. (See screen shot.) How do I set this memory cap higher? Normally, I run the program with no problems, so I think my normal memory settings are correct.
You can set maximum Java heap size in your project properties. Right-click on your project, select 'Properties' from context menu. Select 'Run' category in the 'Project Properties' window and use 'VM Option' filed to set maximum Java heap size.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
Back to top
MalcomWagon



Joined: 11 Aug 2010
Posts: 1

PostPosted: Wed Aug 11, 2010 11:13 am    Post subject: Reply with quote

Thanks for nice post. It's a best program. My program normally takes a lot of memory. It often over 100 MB.
Back to top
cella



Joined: 12 Sep 2010
Posts: 2
Location: United States

PostPosted: Sun Sep 12, 2010 6:18 am    Post subject: Re: How increase the profiler's max heap size? Reply with quote

Tomas Hurka wrote:
Hi Grae,

On 30 Jul 2010, at 15:13, caalip wrote:
Quote:

My program noramally takes a lot of memory. It often over 100 mb. When I try to profile, I hit a memory cap of 65mb. (See screen shot.) How do I set this memory cap higher? Normally, I run the program with no problems, so I think my normal memory settings are correct.
You can set maximum Java heap size in your project properties. Right-click on your project, select 'Properties' from context menu. Select 'Run' category in the 'Project Properties' window and use 'VM Option' filed to set maximum Java heap size.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic



Yeah.. Great tutorial.. thank you.
Back to top
cella



Joined: 12 Sep 2010
Posts: 2
Location: United States

PostPosted: Sun Sep 12, 2010 6:20 am    Post subject: Re: How increase the profiler's max heap size? Reply with quote

Tomas Hurka wrote:
Hi Grae,

On 30 Jul 2010, at 15:13, caalip wrote:
Quote:

My program noramally takes a lot of memory. It often over 100 mb. When I try to profile, I hit a memory cap of 65mb. (See screen shot.) How do I set this memory cap higher? Normally, I run the program with no problems, so I think my normal memory settings are correct.
You can set maximum Java heap size in your project properties. Right-click on your project, select 'Properties' from context menu. Select 'Run' category in the 'Project Properties' window and use 'VM Option' filed to set maximum Java heap size.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic



Yeah.. Great tutorial.. thank you.
Back to top
lyndon243



Joined: 20 Oct 2010
Posts: 1

PostPosted: Wed Oct 20, 2010 12:56 pm    Post subject: Reply with quote

Thanks for the info. Great tutorial dude. Keep posting. Smile
Back to top
markwright789



Joined: 30 May 2011
Posts: 15

PostPosted: Mon May 30, 2011 9:49 am    Post subject: Reply with quote

You can set max Java heap size in your project properties. Right-click on your project, select 'Properties' from context menu. Select 'Run' category in the 'Project Properties' window as well as apply 'VM Option' filed to set maximum Java heap size.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo