Thanks to JM and MK.  256M certainly turned the trick!
Rgds, G.
----- Original Message -----
From: Mullee, John
Sent: Friday, March 12, 2004 4:52 AM
Subject: RE: [saxon] -TP option and OutOfMemoryError

Have you told Java how much memory it can use?
try " java -Xmx256m  ... "
There's a 'sweet spot' to find in the max amount of ram to give java.
Too little, and the job ends with out-of-memory.
Too much, and the garbage-collection on swapped memory can cause swapping out of the OS, and the job slows down to 0.01 % CPU.
-----Original Message-----
From: []On Behalf Of Graeme St.Clair
Sent: 12 March 2004 02:38
Subject: [saxon] -TP option and OutOfMemoryError

Not a show-stopper to me, since I was merely curious (I used to *love* the STROBE product in S/390!), but possibly something to look into.
In Saxon 7.9, I'm transforming about 0.5Mb raw XML (describing about 2300 individual music recordings) with a style-sheet of 2 moderately complicated (to me, at any rate!) for-each's, one to create href's into a sorted list, the second to create the list itself.  I got about 20Mb of 'profile.xml', and am getting java.lang.OutOfMemoryError even in 512Mb of RAM (Windows XP), trying to apply 'timing-profile.xsl'.  I tried it straight after a fresh re-boot, and it still happens.

Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.