It's possible I didn't set the the JVM args correctly. Here's what I put in Info.plist:
-Xss650K -Xms256M -Xmx2048M -XX:SoftRefLRUPolicyMSPerMB=10 -XX:+UseParallelGC The behavior I'm seeing is that eventually Oxygen *tries* to put up an error message but the contents of the message dialog never draw. This is of course OSX Leopard with Oxygen 10.3. Cheers, E. On 8/31/09 2:12 AM, "Sorin Ristache" <[email protected]> wrote: > Hello, > > If you set 2 GB of memory with the -Xmx parameter in oxygenMac.sh it > should be enough for opening a file of 20 MB. Some files need more > memory than other files of the same size depending on the file structure > and the number of tags but I think that 1.5 GB is always enough for a > file of 20 MB. If the heap memory set by -Xmx is not enough Oxygen > reports an Out Of Memory error after 1 or 2 minutes and allows you to > close and reopen the application without reopening the file. > > Other option for breaking the cycle if you don't want to wait until the > Out Of Memory error is editing the file with the Oxygen preferences and > replacing the lines > > <field name="lastOpenedFiles"> > <openedFileInfo-array> > <openedFileInfo> > <field name="systemID"> > ... > </openedFileInfo-array> > </field> > > > with the lines: > > > <field name="lastOpenedFiles"> > <openedFileInfo-array></openedFileInfo-array> > </field> > > The file is called oxyOptionsSa10.3.xml and is located in > <user-home>/Library/Preferences/com.oxygenxml. Starting with the next > version you can load the file using built-in special support for large > files. That reduces the time and memory necessary for loading a very > large file so the Out Of Memory is avoided but there are limitations. > You can try this feature with the following All Platforms kit: > > http://www.oxygenxml.com/update/August20/oxygen.tar.gz > > You set the minimum file size for activating the large file support with > the option "Optimize loading in the Text page for files over (MB)" that > is available in Preferences -> Editor -> Open/Save. > > > Regards, > Sorin > > > ekimber wrote: >> I attempted to open a 20Meg file (an exported iTunes library). Even after >> setting the VM to 2014M, Oxygen effectively locks up trying to open the >> file. Since it's restoring its state on startup, there's no obvious way to >> break the cycle. >> >> How do I break the cycle? >> >> Thanks, >> >> Eliot > _______________________________________________ > oXygen-user mailing list > [email protected] > http://www.oxygenxml.com/mailman/listinfo/oxygen-user ---- Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc. email: [email protected] <mailto:[email protected]> office: 610.631.6770 | cell: 512.554.9368 2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403 www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com <http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com> _______________________________________________ oXygen-user mailing list [email protected] http://www.oxygenxml.com/mailman/listinfo/oxygen-user
