[oXygen-user] Can't edit 11 meg file
James Don
Fri Nov 23 12:59:53 CST 2007
Hey I am just observing this thread ...
On the jre when you start eclipse i belive you can set the amount of
memory allowed to be used by java ...
After googling "man java" i found this in the man page ...
*-Xmx*/n/ Specifies the maximum size, in bytes, of the memory allocation
pool. This value must be a multiple of 1024 greater than 2 MB.
Append the letter *k* or *K* to indicate kilobytes or the letter *m*
or *M* to indicate megabytes. The default value is 64MB. Exam-
ples:
-Xmx83886080
-Xmx81920k
-Xmx80m
Not sure this will help ... but if you start eclipse with a "large" number you may be ok is my guess ...
Keep in mind I am just a bystandard ...
Jim
ps I would assume turning off oxygen features such as "auto completion", etc ... would allow a document not to need as much memory ... but i have been wrong before ... you could try crippling oxygen in your options ... again this is a guess ...
Timothy Reaves wrote:
>
> On Nov 23, 2007, at 5:33 AM, Radu Coravu wrote:
>
>> Dear Timothy,
>>
>> In order to edit it Oxygen keeps the whole file in memory.
>> The amount of memory needed to open a file is several times larger
>> than the file size when opening it in Text mode and is lower when
>> opening it in Grid or Author mode.
>> Also the Tree Editor available in Oxygen has a much smaller memory
>> footprint.
>> It also depends on the file structure and whether it has many long
>> lines.
>>
>> You can find out how much memory is available for Oxygen by opening
>> the About dialog and reading the "JVM memory used - Total" field.
>> The standard total memory setting in Oxygen should be more than
>> enough to open an 11 MB file.
>> If you give us access to the file maybe we could take a look at it
>> and see if we can improve anything in the Oxygen memory usage.
>> If the archived version of the file is above 1 MB maybe you could
>> post a link with it.
>>
>
> Ya, I understand all of that. But you seem to think it is fine
> that an 11 meg file can't be opened. 11 meg! I don't need an excuse
> for why an application running on a laptop with 4 gig of memory can't
> edit an 11 meg file. For pete' sake, stop and look at your friggin
> response! It's an 11 meg file.
>
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list