| Summary: | EDITING: Crash on inserting a large number of sheets | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | pierre-yves samyn <pierre-yves.samyn> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 3.5.0 Beta2 | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
pierre-yves samyn
2012-01-04 02:03:10 UTC
I think you run out of memory. The ammount of sheets is limited by memory. (In reply to comment #1) > I think you run out of memory. > Maybe ... ? But in this case: - A crash should not occur - The maximum number of default should be widely smaller (see mentioned in my previous message, the crash occurs on a new PC with 4 Go of RAM) > The ammount of sheets is limited by memory. IMHO Set no limit on the number and rely only on the available memory seems to me not reliable, especially for programming applications using this number... Regards > > But in this case: > - A crash should not occur We can't do anything against the crash at the moment. You were always able to crash LibO/OOo if you exceeded the maximum of memory available. It is now just easier to do so on a 32 bit system or on systems with less RAM > - The maximum number of default should be widely smaller (see mentioned in my > previous message, the crash occurs on a new PC with 4 Go of RAM) You are only able to use 2GB or 3GB of these 4 GB but I will limit the number of sheets to 10000 for our 32bit builds. > > > The ammount of sheets is limited by memory. > > IMHO Set no limit on the number and rely only on the available memory seems to > me not reliable, especially for programming applications using this number... That is not possible. And personally I doubt that there is any use case where more than one or two thousand sheets are really usefull. For everything else you should not use calc. (In reply to comment #3) > You are only able to use 2GB or 3GB of these 4 GB but I will limit the number > of sheets to 10000 for our 32bit builds. Ok > personally I doubt that there is any use case where > more than one or two thousand sheets are really usefull. For everything else > you should not use calc. +1 of course :) So why 32000 ? Thank's anyway Regards (In reply to comment #4) > (In reply to comment #3) > > personally I doubt that there is any use case where > > more than one or two thousand sheets are really usefull. For everything else > > you should not use calc. > > +1 of course :) > > So why 32000 ? > Originally we did not want to set any sheet limit but there are some uno interfaces involved which use signed 16bit values and are therefore limited to 32768. Since we use some of the last numbers for special internal purpose it was my decision to limit it to 32000. That just sounded better than 32733 or something like that. |