[Issue] Fatal Error - Bad allocation

Discuss the spreadsheet application

[Issue] Fatal Error - Bad allocation

Postby Nuno Bouça » Mon Apr 11, 2016 11:32 am

Good Morning,

while trying to save the document gives me this error (Fatal Error - bad allocation) and forces to close the document without being able to save anything! I lose all the work!

Anyone know what it is ??

Thank you for your help!!
Attachments
OO - Error.jpg
The Error
OO - Error.jpg (7.13 KiB) Viewed 10461 times
Last edited by Hagar Delest on Sat Apr 16, 2016 10:11 am, edited 1 time in total.
Reason: tagged [Issue] (link to a bug report).
OpenOffice 4.1.2
Windows 10
Nuno Bouça
 
Posts: 3
Joined: Mon Apr 11, 2016 11:22 am

Re: Fatal Error - bad allocation

Postby MrProgrammer » Wed Apr 13, 2016 3:19 am

Hi, and welcome to the forum.

Nuno Bouça wrote:while trying to save the document gives me this error (Fatal Error - bad allocation)
Please search first before posting. Try these topics: Fatal error, bad allocation

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800 on MacOS 10.14.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Moderator
 
Posts: 3941
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Fatal Error - bad allocation

Postby Nuno Bouça » Wed Apr 13, 2016 11:07 am

Thanks!

I've been read topics but didn't find the solution or suggestion to solve the problem!
OpenOffice 4.1.2
Windows 10
Nuno Bouça
 
Posts: 3
Joined: Mon Apr 11, 2016 11:22 am

Re: Fatal Error - bad allocation

Postby Herb40 » Thu Apr 14, 2016 11:38 pm

Nuno Bouça wrote:I've been read topics but didn't find the solution or suggestion to solve the problem!

Unfortunately, there is no solution to the problem that can be provided by anyone on this forum. The bad allocation problem is caused by an error deep within the Open Office Calc software, and can be eliminated only after one of the developers of this software is assigned to work on the problem.

As someone who has also been affected by this problem, I have found that changing the way I use Calc may help to eliminate the problem. Periodically save your work, completely exit from Calc, and start over again. To me, the problem seems to be caused when something "big" (such as a complicated sheet) is deleted. I have found that if I have, say, 25 sheets and want to delete all but 1 of them, I may have to delete only 5, then save, exit, start over, and delete another 5, ... until I have only the 1 I need. (There is nothing "magic" about 5 sheets at a time. You may be able to delete a different number each time.) As the document becomes smaller and smaller, the likelihood that the bad allocation problem will occur diminishes.

Of course, deleting large sheets may not be causing your problem. Just remember that as Calc runs, it continually creates and then deletes various data structures, and somewhere in the process loses track of which memory is in use and which is available for use. Saving your work and starting over again lets you begin with no allocation problems.
OpenOffice 4.1.3 on Windows 10
Herb40
 
Posts: 134
Joined: Thu May 08, 2014 3:35 am

Re: Fatal Error - bad allocation

Postby Nuno Bouça » Fri Apr 15, 2016 12:09 pm

Thank you very much!

Incidentally, that's exactly what I began to do ... Save often and do everything slowly ...

Good work !!
OpenOffice 4.1.2
Windows 10
Nuno Bouça
 
Posts: 3
Joined: Mon Apr 11, 2016 11:22 am

Re: Fatal Error - bad allocation

Postby Hagar Delest » Sat Apr 16, 2016 10:11 am

It seems there is a bug report already for that, you can vote for it (up to 2 votes per report): Issue 125006 - Calc Consistently crashing, usually with "Fatal Error - Bad Allocation".
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Issue] Fatal Error - Bad allocation

Postby Jazomir » Sat May 26, 2018 12:10 pm

Recently 'jumped ship' from MS Office Pro 2003 when the Windows 10 April 2018 update caused severe problems with Excel 2003. When I downloaded ApacheOpenOffice 4.15 and started using Calc I started having the same problems noted here while I was converting/updating all my existing .XLS spreadsheets to .ODS format. The suggested work around for the issue (saving after every 4 or 5 changes) appears to be only half successful as not all the changes are recovered during the recovery process. I can only assume that the cause of the fault has not been identified and resolved in the intervening 2 or more releases. Anyone have any more suggestions as I can't continue working with this issue as most of my day is spent using these spreadsheets.
ApacheOpenOffice 4.1.5 on Windows10
Jazomir
 
Posts: 2
Joined: Sat May 26, 2018 12:01 pm

Re: [Issue] Fatal Error - Bad allocation

Postby Jazomir » Sun May 27, 2018 11:05 am

Quick update. After the Fatal Error problems started, I decided not to use CALC and have another try at getting Excel 2003 to work. I repeated all my previous steps but missed out/uninstalled a notorious Security update and Excel started working again. I shall now stick with Excel until the Fatal Error problem is resolved.
ApacheOpenOffice 4.1.5 on Windows10
Jazomir
 
Posts: 2
Joined: Sat May 26, 2018 12:01 pm


Return to Calc

Who is online

Users browsing this forum: Lupp, RPG and 17 guests