Abnormal CPU and RAM usage
Our take
The recent surge in CPU and RAM usage within a simple Excel file is a subtle yet telling indicator of how modern spreadsheet tools interact with underlying systems. When a modest file—containing only 2000 rows and 100 columns—triggers such a dramatic performance shift, it raises questions about the complexity hidden beneath the surface. The scenario described is far from isolated; it’s a symptom of a broader pattern where seemingly straightforward operations can strain resources when executed with certain formulas or data structures. This phenomenon underscores the importance of understanding not just what Excel does, but how it behaves under different conditions.
What makes this situation particularly intriguing is the context of the system itself. A Lenovo T14 5th Intel Core Gen Ultra 5 processor paired with 16GB of RAM is a capable machine, yet it still struggles with a seemingly simple function. This discrepancy hints at the limitations of even the best hardware when paired with inefficient code or unexpected data patterns. The fact that no queries or connections are present, yet the performance drops so drastically, emphasizes how quickly assumptions can be overturned by unseen variables. It’s a reminder that optimizing spreadsheet tasks isn’t merely about speed—it’s about anticipating the hidden forces at play.
The article draws a parallel to real-world challenges, such as managing queries in Excel Online or ensuring sufficient memory when filling all cells, suggesting that these issues aren’t new but are part of ongoing user struggles. By analyzing this case, we see a clearer picture of why users feel overwhelmed despite having solid hardware. It encourages a deeper reflection on the balance between complexity and capability in modern digital tools. As we move forward, it’s crucial to stay vigilant about these signals, adapting our strategies to maintain productivity without compromising performance. The takeaway here is clear: understanding the underlying mechanics can turn confusion into clarity.
I've opened a simple excel file with 2000 rows max and about 100 columns. When I running a simple filter function (crtl + shift + L), the CPU usage goes from 1% to 100% and RAM from 300MB to 3GB. The system I'm using a Lenovo T14 5th Intel Core Gen Ultra 5 16GB RAM (also running on AC power with the BEST Performance preset). The file has no queries or connections. Just a simple xlookup formula for one column that pulls a result from another sheet that has 26 rows with 3 columns.
I'm puzzled why this is happening. Any pointers or remedies?
[link] [comments]
Read on the original site
Open the publisher's page for the full experience
Related Articles
- Excel Performance optimisation tips!Working in demand planning I have got it the point where I am making some pretty advanced files using a suite of techniques. My files often have lots of rows, with lots of Columns of complex formula including with sumifs, xloopup, ifs & Let. I’ve not advanced to using tables regularly though as I find the constraints & syntax annoying but am trying to get there & have started using power query to blend data for output analysis. The problem I am encountering is I filter ALOT drilling down into product groups etc, & excel tends to ‘hang’ a lot with ‘Not Responding’. Now I’m not sure it’s due to an underpowered machine (intel core i7 HP Elitebook) or, more likely lots of complex formula referencing ranges or tables. My question to the hive brain: share your optimisation tips & tricks! -Can Lamda combined with Let speed things up? -Are Tables vital to speeding up complex sumifs & lookups? - are match helper columns combined with Index leaner & faster than xlookup? Hit me with best tips & tricks! submitted by /u/NZGRAVELDAD [link] [comments]
- How many GB of RAM is required make a sheet with all cells filled?I tried to fill all cells with ‘1’ but it said there isn’t enough memory for doing it. I calculated that there are 17179869184 cells in a sheet. Considering each cell takes 1 bit of memory, filling all will take exactly 2GB of memory. My laptop has more 16 GB of RAM, still excel couldn’t complete the task. What could be the reason? Edit: My assumption that one cell will take 1 bit of memory was wrong. I experimented and filled all cells of A column with ‘1’ and checked the file size. Then filled all cells of B column, then C and repeated it till 30 columns. The file size increased by a value within the range 2.5 to 4 mb. Average file size increase per column filled with ‘1’ was 3.5 MB. If theoretically all columns were to be filled the file size would become 3.5 MB x 16384 = 56 GB. Now I have arrived at a figure of file size. Now there is a need to establish what is relation between size of excel file and memory consumption. A 15 KB uses 105 MB RAM, whereas 50 MB files uses 335 MB RAM. I dont have enough data to find any empirical relationship btw file size and RAM consumption, I guess I would never know how many GBs of RAM is required to open a file with all cells filled with ‘1’. Edit 2: File size vs RAM consumption I finally found an empirical formula that works on my pc. I made 3 4 excel files File 1 : blank. Size 9KB, taking it as 0MB File 2 : 50 MB File 3 : 135 MB File 4 : 280 MB I opened it one by one and checked RAM consumption. File size (X) vs RAM consumption (Y) was as follows: X,Y 0,105 50,335 135,750 280,1346 With this data I plotted and found a linear relation. Equation: Y = 4.4392(X) + 117.94 R^2 = 0.9983 (very strong) Now, I needed to check it with unseen data. I made a file of size 651 MB i.e. X. The equation gave Y = 3007. Time to check the actual RAM usage. It was 3145 MB. Almost same. Thus, my equation works. So, a file of 56 GB will require RAM of 248.71 GB RAM as per the equation. PS : I am not sure how correct this analysis is. But now I am contented that I have done all I could with my limited knowledge in this domain. I thank you all for the help and ideas. submitted by /u/Ornery_Mountain_9475 [link] [comments]
- How to stop Excel Online from being so slow?Since an update a few years back, I want to say two or three (it was some UI changes mostly) my Excel Online has just been unbearably slow. Just a few minutes ago I added a new sheet to an existing file. For some background it was previously a single sheet 13x47 table with 2 columns of simple calculations (one adding up a couple columns, and another doing some division), 282 cells being used. The new sheet took 2 minutes to process and actually be created. It is currently a 6x21 table, but by the time I created the 3rd of 6 columns it froze and had an error then reloaded itself putting me back to only 2 columns made. It did this again then 3 times more before I finished the table, each time taking several minutes. There is not a lot of data in the file, there's simple calculations without function calls, and I have no issues with my internet connection. I could make a new file and still have the same issues. I often have to reload a file 10+ times before I can complete some simple data entry. I do know there's a banner that pops up from time-to-time about my internet settings but clicking the hyperlink that comes with it just crashes the file again. I also know that Firefox (the browser I use) will occasionally try to get me to close the page because it's lagging out so bad. Lastly, the files work fine on my phone browser. Anyone know what could be causing this? Because at this point it's honestly faster to use pen and paper if not for the fact I already have all the old data online. submitted by /u/AltoniusAmakiir [link] [comments]
- How to Identify Cause of Calculating Threads?I have a light excel file around 10mb. However, it takes a while to update / refresh with any formula given that it always shows Calculating threads (sometimes it's 6 threads, other times 14 threads) There are quite a number of worksheets - maybe around 10. formulas refer to other worksheets in the file and there are formulas linked to 10 external files (mostly VLOOKUP, XLOOKUP). Is there a quite way to identify what's causing the slowdown / calculating threads so I can address? by theory, what causes this? I'm tired of waiting 10mins just to get a simple sum or division. It seems like the Excel needs to recalculate all formulas every single time. Already tried making calculations manual instead of automatic. It helps not to update every single time, so I can wait for all formula adjustments before clicking F9. But, another 5-10mins wait once I do update. submitted by /u/Recent__Craft [link] [comments]