Draw's capacity was reduced after 4.1.1.2 and became very low after the last Win 8 update

Hello, I am trying to use Draw for creating pictures having large number of
simple objects, up to several thousands of them per file. To give you some
idea, think of the games of go or checkers.

Yesterday I was able to keep several such files open at the same time (I
knew if I opened too many files LO would die with generalized diagnostics
message, and this started happening only after I installed LO 4.1.1.2).

Today, after installing the latest Windows update, I found that I could
hardly open only one of those files. I really thought I lost it. Fortunately
it opened after I closed everything else.

Attempting to open a second file at first I saw an empty window with moving
green progress indicator bar. At some moment the window would silently
disappear.

The moment of disappearance apparently depended on the size of the open
file. I found that I was able to open two small files. The bigger was the
first file, the sooner the process opening the second file would die.

I have the latest JRE (1.7.0_40). Increasing LO's memory settings did not
change anything.

Update:

I can now tell that the same crush happens as I add the objects to the
drawing. Working with a file I copied around 200 objects at once and tried
to past them. The window silently disappeared (another one opened at this
time survived).

Apparently I saw the number of objects (or some other parameter) restricted
two times: first in LO 4.1.1.2 (but at least I was receiving diagnostic
message and was able to recover the file), next with the latest update of
Windows 8, and this time it got bad.

Hi.

Hello, I am trying to use Draw for creating pictures having large number of
simple objects, up to several thousands of them per file. To give you some
idea, think of the games of go or checkers.

Yesterday I was able to keep several such files open at the same time (I
knew if I opened too many files LO would die with generalized diagnostics
message, and this started happening only after I installed LO 4.1.1.2).

Today, after installing the latest Windows update, I found that I could
hardly open only one of those files. I really thought I lost it. Fortunately
it opened after I closed everything else.

Attempting to open a second file at first I saw an empty window with moving
green progress indicator bar. At some moment the window would silently
disappear.

The moment of disappearance apparently depended on the size of the open
file. I found that I was able to open two small files. The bigger was the
first file, the sooner the process opening the second file would die.

I have the latest JRE (1.7.0_40). Increasing LO's memory settings did not
change anything.

Update:

I can now tell that the same crush happens as I add the objects to the
drawing. Working with a file I copied around 200 objects at once and tried
to past them. The window silently disappeared (another one opened at this
time survived).

Apparently I saw the number of objects (or some other parameter) restricted
two times: first in LO 4.1.1.2 (but at least I was receiving diagnostic
message and was able to recover the file), next with the latest update of
Windows 8, and this time it got bad.

I am still using LO 3.6, but can open documents with more than 20000 objects. Have you looked at the memory settings under

Memory.

Steve

I certainly did try memory settings, and I mentioned it.
I am playing with LO right now.
Apparently it goes down the sink at 3000 objects.
Yes, it was not doing this before.
The very same files were OK just couple days ago.

Thank you for your input!

Just reset Draw template to default one, opened new file and created 1000
0.12" filled circles (changed the filling color from the default one).
Arranged them into rectangle 25x40.

Copied and pasted the whole thing 2 times - that's 3000. It worked. Pasted
one more time, tried to save. Got "LO has stopped working" (from Windows).
Successfully recovered (all 4000) circles, was able to save and reopen the
file correctly.

Opened new Draw page, copied and pasted another 1000 (5000 total count),
tried to save - LO died with the same Windows message. Recovered, and the
new page was not there.

I have Thinkpad W510, Windows 8/64, fully updated. LO Version: 4.1.1.2.
Memory settings:

Number of steps - 25

Use for LibreOffice: 200MB
Memory per object: 1.0MB

File size (compressed) 30K.

And, once again,I started having this problem in 4.1.1.2 and it became
strangling after the latest windows update. _trying_to_break_it_01.odg
<http://nabble.documentfoundation.org/file/n4074556/_trying_to_break_it_01.odg>

Hi mxkuzn,

I can verify your findings. I am running LO 4.1.1.2 on Windows 7 64bit.
I tried creating a 25x40 grid of filled circles, 0.3cmx0.3cm. This
worked, and I could save. I copied this grid onto a new page, so 2000
circles, and I could save. I copied this onto another new page, so 3000
circles, and when I tried to save, LO crashed. Consistantly, saving at
or above 3000 circles crashes LO, and recovery does not get it back. I
can create more than 3000 circles, I went all the way up to 20 pages,
so 20000 circles, and apart from each successive paste getting slower
and slower, up to almost 10 seconds per paste, there was no sign of
crashes, until I tried to save. This is a relatively fresh, and
default, install, and I haven't played with any memory settings. I have
no idea if this would work for me on previous versions of LO, I've
never tried anything like it.

To give you some idea, think of the games of go or checkers.

I play Go. I was wondering what you are trying to do; I can't think of
anything Go related that would require that many items.

Regards

Paul

Hi.
I just saved 17000 items (line types) in LO3.6. It can be slow, sometimes 30 seconds to move the group.
Steve
And just for the fun of it I copied those items and saved 34000.

Thank you very much Paul,
I was able to create tens of thousands
objects too, and it was fine until I tried
to save them.

My initial problem was different: I could not
open a second big file,but the cause was
probably the same, so I choose a simpler
way to demonstrate thisbehavior.

Re: Go. It's not hard to surpass 3K limit
if you keep multiple related layouts in one
filelike I do. I need hundreds of them
at this stage, each has 200-300 objects,
and graphical preview in Draw was very
helpful.

Thank you

George

Most importantly, guys, I created those files in Draw
and had no problems keeping any number of them open
without even thinking of memory settings.
I mean, until the latest updates.

What exactly are you trying to do? If you're needing multiple game
diagrams, wouldn't a specialised tool (like Drago) be better? Or turn
each game diagram into its own image before including them in the file.
And why does it all have to be in one file? I think any program will
likely have speed if not stability issues with files of that many
components.

This seems to be a bug, a regression in 4.1.1.2. I have just gone from 3.6>4.05>4.1 and 4.05 is ok. 4.1.1.2 crashes. Win 7 32 bit.
Why would you want so many objects? If draw is going to offer opening of PDF's then it needs to accommodate this many objects. My PDF's I open regularly with draw rarely have less than 14000 objects. DXF drawings can easily have thousands of items, EPS also.
I don't think it is a design limit or there would be a message and not a crash and draw would not drop support for all the above file types (I would hope), it must be a bug.
Anyway, back to 4.05
steve

No Paul, there were no such issuesin the past,
even with much bigger files opened at the same time.
And I just found similar problem in Write.
After certain number of pictures (not very big)
it would not paste.

You didn't have *any* slowdown? That's impressive.
Still, I'd hate to be the one maintaining such a large file.

Come on, Paul, the files are very small by modern standards.
Another user sent me a file with close to 30K objects.
This onewas slow, but mainly because LO is so inefficient.
I turned back to 4.05, this one workswith my files.