XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Lee HumphriesSubject: SS4.6 103s: Bug - Stylus hogging memory
Author: Lee Humphries
Date: 08 Apr 2003 07:42 PM
I've been working with a collection of large XML documents and XSLTs to process them.

One problem I've got is that I have to shut Stylus down regularly to get it to release the memory it allocated for documents that I've ceased working with. Even if I shut down every document window Stylus still apparently maintains most of these documents in memory (although the 'Other Documents' branch on the project tree is now completely gone).

After a short time spent working with a handful of large XML documents, windoze tells me it has to increase the paging file size because Stylus won't let go (of memory).

Regards, Lee

Postnext
Minollo I.Subject: Re: SS4.6 103s: Bug - Stylus hogging memory
Author: Minollo I.
Date: 08 Apr 2003 09:36 PM
Once the "Other Documents" section is flushed, memory should be released.
We'll try reproducing the problem here.

Thanks,
Minollo

Postnext
Lee HumphriesSubject: Re: SS4.6 103s: Bug - Stylus hogging memory
Author: Lee Humphries
Date: 08 Apr 2003 11:51 PM
Hi Minollo,

Related to the "Other Documents" section. Generally I've noticed that the "Other Documents" section seems to continue to list files that are no longer 'active' until all of the document windows have been closed. Listing files that are used by the current XSLT scenario is also a bit obscure.

You may also want to check what Stylus does with documents pulled in via the XSLT document function after the XSLT has been closed down.

Regards, Lee

Postnext
Lee HumphriesSubject: Re: SS4.6 103s: Bug - Stylus hogging memory
Author: Lee Humphries
Date: 09 Apr 2003 12:31 AM
Hi Minollo,

Another place to look is what happens with the documents in the Preview pane after the XSLT has been closed down. If these are always kept until Stylus is shut down then they could chew up a lot of memory long after their usefulness has expired.

For example (long-winded diatribe follows):
If I want to work with the results of the XSLT the copy that's in the preview pane is pretty useless to me once I've finished my initial analysis of it. I can't do much to it directly (like searching) and flicking between tabs isn't much good for doing compares of the results from different scenarios. In fact, if I have a result I want to study further, I always end up saving it to disk.

In other words I've found that being able to get at previous results of the same XSLT just isn't useful to me.

What would be far more useful would be the ability to throw the result into it's own new document window (even in preference to the option of saving it to disk). From a new document window I'd should still be able to save it to disk anyway.

Regards, Lee

Postnext
Lee HumphriesSubject: SS4.6 103s: Bug - Stylus hogging memory
Author: Lee Humphries
Date: 14 Apr 2003 09:52 PM
Here's a bit more to this:

Set a breakpoint on an XSLT that's used to process a large XML document preferably after it's been through some recursive process and come back out again (setting up keys also seems to be good).

Debug the XSLT and then cancel the XSLT's execution when you hit the breakpoint. The memory used to this point doesn't appear to be released.

Debug the XSLT again, roughly the same amount of memory seems to be used, but this is in addition to what was used the first time the XSLT was being debugged.

If you repeat the above process more and more memory is allocated and apparently not released - until you shut down Stylus.

Regards, Lee

Posttop
Minollo I.Subject: Re: SS4.6 103s: Bug - Stylus hogging memory
Author: Minollo I.
Date: 25 Apr 2003 04:34 PM
Several memory leak issues have been fixed in 4.6 BL103t, now available as
an update from:
http://www.stylusstudio.com/update

Thanks,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.