aspose file tools*
The moose likes Tomcat and the fly likes Heap space out of memory error in pdffax generation program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Heap space out of memory error in pdffax generation program" Watch "Heap space out of memory error in pdffax generation program" New topic
Author

Heap space out of memory error in pdffax generation program

jwala sudhakar
Greenhorn

Joined: May 23, 2006
Posts: 3
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

Joined: Dec 11, 2004
Posts: 13410

Are you running this from within a servlet?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
jwala sudhakar
Greenhorn

Joined: May 23, 2006
Posts: 3
Yes, I am executing faxproducer code in servlet.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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

Joined: May 23, 2006
Posts: 3
I am using
1.windowsxp professional 2002
2.By starting tomcat service,i am starting container
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

OK,
I'll move this thread to the Tomcat forum for you.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap space out of memory error in pdffax generation program