Excel 1.x: Imported Spreadsheets Return a Memory Error

Last reviewed: November 2, 1994
Article ID: Q59248

SUMMARY

Spreadsheets saved from other programs, such as Lotus 1-2-3, may produce "out of memory" errors when imported into Microsoft Excel version 1.50 or earlier. This error may occur even if the file size appears small when you choose Get Info from the File menu in the Finder.

The most likely cause is that the cells in the spreadsheet being imported are separated by extra blank rows and columns that cause the cells to be (unnecessarily) spread out across the sheet. Excel versions 1.50 and earlier allocate memory based on the last row and column, allocating memory for each cell in that rectangle whether it contains any information or not. This frequently causes an "out of memory" error because of the physical layout of the sheet, not its actual contents.

To correct this problem, load the file back into the application it was created in and remove any extra rows or columns, making it as compact horizontally and vertically as possible. Then import it as before.

MORE INFORMATION

This problem should not occur in Excel version 2.20, which uses sparse-matrix memory management to allocate memory only to cells containing information. In addition, Excel 2.20 can access up to 8 megabytes of RAM for the cell table, whereas earlier versions of Excel are restricted to the first megabyte of RAM.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.