this post was submitted on 22 Jun 2023
25 points (100.0% liked)

Linux

48372 readers
1349 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Excuse me, I have some problems using .xls files on LibreOffice Calc. I tried opening the file and it worked but when I tried to save my work, it crashed. Is there any way to make it work?

It worked on Microsoft Excel on Windows 11. The file crashed the computer, but it worked passed 5 minutes and I could save my work.

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 41 points 1 year ago (1 children)

Have you considered not using xls as a format to store 1.5GB.

[–] paf129 9 points 1 year ago (4 children)

Yes, but it was a request of my boss

[–] [email protected] 18 points 1 year ago (2 children)

Tell them to use a proper database

[–] [email protected] 5 points 1 year ago

Good luck with that.

[–] [email protected] 4 points 1 year ago

Their boss probably doesn’t care since it opened in excel for them.

[–] [email protected] 4 points 1 year ago (1 children)

Call him special for even entertaining a 1.5GB XLS file as a real option for anything.

That’s totally nuts. Normalize the data and use Access if you have absolutely no other options - or use SQL Server Express if you want to be cheap about it and stay in the MSFT ecosystem.

[–] [email protected] 2 points 1 year ago

@meat_popsicle @paf129 @meowthschwitz Or you could take a look at HDF5. if it's good enough for scientists all around the world it should be good for him too.

[–] [email protected] 3 points 1 year ago

Microsoft never really meant for XLS files to get that big. Can't you use a "saner" approach, like CSV?

[–] [email protected] 1 points 1 year ago

If it is data processing, tell them to use Octave or even better Python + spyder + pandas & matplotlib/seaborn.

Much easier processing, much less time wasted with opening more flexible, and more beautiful plots.

[–] [email protected] 10 points 1 year ago

Yeah, you can make it work by finding one of your it guys and dumping it in a real database. Spreadsheet software is NOT meant to handle data like that.

[–] [email protected] 8 points 1 year ago

Can you split it into a few smaller files? That is honestly too large for any spreadsheet.

[–] [email protected] 6 points 1 year ago

Dang! How does it take to open that file? Are there formulas and macros in there?

As the others said, a spreadsheet isn't a database. And you now experience why. Tell your boss it's not going to work anymore.

[–] coralof 4 points 1 year ago

Damn, a 1.5GB Excel file!? That sounds like a nightmare to work with. And here I thought a 200MB Excel file acting as a store’s entire yearly accounting ledger (where I used to work) was bad!

At this point, you need a proper database and some reporting scripts / software. If that one file somehow gets corrupted, it’s all over.

[–] Cynosure 3 points 1 year ago

This is why exel is not a database. I'd say export to a reasonable format on Windows (like CSV, but even that might be too much) and then do the work on

[–] [email protected] 3 points 1 year ago (1 children)

For real, what are you using this one for? If I take the compression ratio into account (times 10), subtract meta data (minus a third) and consider the character encoding (two bytes per character) I still get around 5000000000 characters. That's all numbers? You wouldn't store binary content in there, would you?

Anyway, take a decent pc with at least twice the memory the file will need uncompressed. Kill all other applications. Open up your file and split it up. Make a separate file for each worksheet. If there are more than 100000 rows, split them in separate files too. Don't embed any binary content.

And for god's sake: use a different tool. That very much depends on what you are trying to do. What is it?

[–] paf129 3 points 1 year ago

It is just numbers, but my boss wants it in excel because he can't work another file :(

[–] [email protected] 1 points 1 year ago

You could use office in wine , maybe wps office will work with it.

[–] gabmartini 1 points 1 year ago

Hi! Try to open it with Apache Spark (difficult to learn at the beginning) or Pandas in Python (more friendly option). Use batch reading and dump the information in a Database (PostgreSQL) or a plain text format file (csv).

[–] grepe 1 points 1 year ago* (last edited 1 year ago)

Excuse me, I have a problem transporting this concrete bridge segment on my VW beatle. It worked fine with my Honda Accord (just made it a bit slow) but the beatle just gets crushed under it. Anyone can tell me how to make it work?

Edit: car type to make more appropriate comparison