Out of memory error using XML,XSLT(XALAN)

Posted on 2002-04-17
Medium Priority
Last Modified: 2006-11-17
We are developing a web-application where all the pages in the site are rendered by XSL.<br> ie
When a particular page is requested, data required for that page is formed into a XML tree from the database as DOM document and the XSL file for that page is stored in the DB as text which is also retrieved and from as XSLT sourec and a jsp page will apply the XSLT transformation on the XML... through JAXP-XALAN.<br>
Every page visit increases the memory size (in the weblogic
console) and does not free up.<br>

Now what could be problem,<br>
1. We are using lots of xsl:variables in the XSL file.. is it because of this.. <br>
2. When does a xsl:variable go out of scope or released from memory<br>
3.Is there any way with which we could remove the reslutant XML tree from the memory got out of XSLT on XML<br>
4. Any other way of removing result XML tree..<br>
5. Any methods in XALAN for this..
Windows 2000 server
Weblogic 6.1

Kindly help..
Question by:hariharann
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

Wayne Bradney earned 800 total points
ID: 6966047

Sounds to me like Weblogic is holding a reference to every DOM object you instantiate. I'm not a Weblogic expert, so I can't be of much more help, but you can bet that there's some API mechanism in Weblogic to free up all references after each request is processed.

LVL 26

Expert Comment

ID: 10298187
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept wbradney's answer

Please leave any comments here within the next four days.


EE Cleanup Volunteer

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question