Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9206395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:09:58+00:00 2026-06-18T00:09:58+00:00

I need to configure wrapper file for restart the wrapper when the Heap memory

  • 0

I need to configure wrapper file for restart the wrapper when the Heap memory space is occurred. I have done something from what I learned through net. But still the OutOfMemory persists. Here my configuration file.

wrapper.java.command=./jre/bin/java.exe
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

wrapper.java.classpath.1=./lib/wrapper.jar    
wrapper.java.classpath.2=./automatictester.jar

wrapper.java.library.path.1=./lib
wrapper.java.additional.1=

wrapper.java.initmemory=5
wrapper.java.maxmemory=64

wrapper.app.parameter.1= sample.automatic
wrapper.console.format=PM

wrapper.console.loglevel=INFO
wrapper.logfile=./logs/wrapper.log

wrapper.logfile.format=LPTM
wrapper.logfile.loglevel=INFO

wrapper.logfile.maxsize=1m
wrapper.logfile.maxfiles=2

wrapper.syslog.loglevel=INFO
wrapper.console.title=Sample Application for Testing

wrapper.ntservice.name=Automatic Tester
wrapper.ntservice.displayname=Automatic Tester

wrapper.ntservice.description=Automatic Tester 
wrapper.ntservice.dependency.1=

wrapper.ntservice.starttype=DEMAND_START
wrapper.ntservice.interactive=false

wrapper.filter.trigger.1=java.lang.OutOfMemoryError
wrapper.filter.action.1=RESTART

#wrapper.java.monitor.heap.threshold.percent=99 
#wrapper.java.monitor.heap.restart=true 

Thanks in Advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:09:59+00:00Added an answer on June 18, 2026 at 12:09 am

    you need the following property set:

    wrapper.filter.trigger.1=java.lang.OutOfMemoryError
    wrapper.filter.action.1=RESTART
    

    for more information, please take a look at the following page:

    http://wrapper.tanukisoftware.com/doc/english/prop-filter-x-n.html#outofmemory

    cheers,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows application (C#) and i need to configure it to run
In my program I need to programmatically configure an ApplicationContext. Specifically, I have a
I need to set/unset configure options for an in-house C# software through its GUI.
I have created the application in which I need to configure the connection pool.In
I need to configure my Apache instance to redirect the requests from a pattern
I need configure connect to server via SSL protocol. I got from server owners
I need to configure a datasource to use in grails. I created file scripts/_Events.groovy
I have guvnor deployed on tomcat 7. Now need to deploy a wrapper webservice
I need to configure my apache so it run particular php file every, say,
I have a situation where I need to configure existing client data to address

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.