Trond Trosterud wrote:
>> This memory limit may of course be changed. How to do this is 
>> described here: http://www.xmlmind.com/xmleditor/faq.html#outofmemory
> Ok, I went there, and set it to 2048m.

Make sure you actually have more than 2GB of real memory, otherwise Java 
will use virtual memory (i.e. hard disk), which won't solve your problem.

Also, Java 32bit on windows has a limit of about 1.5GB of heap size. In 
this case, setting it to more than 1500m or so is useless. On Linux the 
limit is 1.8GB (but I can't immediately find the page where I got that 
figure). If you have a 64bit processor, then you can go much beyond 2GB 
of heap.

See:
http://java.sun.com/docs/hotspot/HotSpotFAQ.html#gc_heap_32bit
http://www.unixville.com/%7Emoazam/2004/06/03.html


>
>> --> In practice, yes. XMLmind XML Editor has been designed to edit 
>> topics (e.g. chapters, sections) and not huge documents. Two reasons 
>> for that:
>> Let's say that with a reasonably modern machine, you should be able 
>> to edit a multi-hundred-page DocBook monolithic book containing a few 
>> dozens, low-resolution, images (e.g. screen shots).
>
> I do not edit DocBook, I edit a dictionary, with (at the moment) 20000 
> "chapters" (i.e. lemma articles, file size 2,9 MB). I can split them 
> up in say, 4 documents (A-E, F-M, N-R, S-Z), or 2, or 20, but the 
> easiest way would be to just use one file.
>
> Now, even with my 2048m, I cannot load my 20000 lemma (1,2 MB), but I 
> can load 7000 lemma (another dictionary I have).
>
> So, would I be correct in assuming XMLEditor has a border of 1,5 MB 
> (or even less, the 1,2 file is a bit slow), beyond which I should not go?

I've managed to edit 5MB files with XXE (for testing). It was almost 
usable, although scrolling was very slow. I would agree that 1.5MB is 
already large for XXE, but with a high-end 64bit computer and maybe 4GB 
of RAM, it should be workable.


Hope this helps,
Benoit


>
> Trond.
>
>
> ----------------------------------------------------------------------
>
> Trond Trosterud                                        t +47 7764 4763
>
> Institutt for spr?kvitskap, Det humanistiske fakultet  m +47 950 70140
>
> N-9037 Universitetet i Troms?, Noreg                   f +47 7764 5216
>
> Trond.Trosterud (a) hum.uit.no          http://www.hum.uit.no/a/trond/
>
> ----------------------------------------------------------------------
>
>
>
>
> ------------------------------------------------------------------------
>
>  
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support


-- 
Benoit Maisonny                benoit at synclude.com
Director & Consultant          http://synclude.com
Synclude


Reply via email to