Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 9th, 2013, 02:02 AM
ravi576 ravi576 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2013
Posts: 1 ravi576 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 20 sec
Reputation Power: 0
Increase the Wrapper java Free Memory and Allocated Memory

Hello Guru's,

Im having the Java application which runs as a windows service , It will process the CSV file of 5000 employees data , but currently we are getting the Out of Memory Java Heap Space error.In my conf file it is commented the Wrapper.java.initmemory=64.

It is crashing in mid of processing those employees data , we have printed the Runtime.getMemory details, at it is showing as available Max Mem as 2271 and Allocated Mem as 183 MB and Free Mem as 173MB

Please suggest the solution, how to increase the allocated memory to 1GB and FreeMemory as 512 MB

Physical Mem: 12GB on server.

Conf File:=

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=D:\HRIntegration\lib

# Java Additional Parameters
#wrapper.java.additional.1=

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=64

# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64

# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=com.apple.hr.autoMainThrea ds.DataFileMonitor
#wrapper.app.parameter.1=com.apple.hr.ws.Test
#************************************************* *******************
# Wrapper Logging Properties
#************************************************* *******************
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM

# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=D:\HRIntegration\logs\wrapper.log

# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Increase the Wrapper java Free Memory and Allocated Memory


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap