Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Heap space out of memory error in pdffax generation program

 
jwala sudhakar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am very happy for joining this forum,through which i can learn alot and help others.
Problem is i am getting
1. heap space out of memory error in AcrobatFaxProducer program using rfax.
2.And one more i am not getting good format of fax by using AcrobatFaxProducer or HtmlFaxProducer,if u know faxing,could u please tell me the right way of faxing.
3.Can we give html file or jsp file directly as input to this producers.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you running this from within a servlet?
 
jwala sudhakar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I am executing faxproducer code in servlet.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may be that the tools/libs you are using reqire more heap space than what your container is configured to use.

Changing the heap setting can be different for each container.
Tell us which you're using (+ OS and how you're starting your conatiner) and I'll move this thread to the proper forum for you.
 
jwala sudhakar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using
1.windowsxp professional 2002
2.By starting tomcat service,i am starting container
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK,
I'll move this thread to the Tomcat forum for you.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you install it as a service, the heap size settings are stored in the registry. There is a gui app for changing these settings.
Start -> Program Files -> Apache Tomcat -> Configure Tomcat.

The memory settings are under the JVM tab
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic