Reputation: 49
I came back from vacation to see all of my Excel applications crash after a few seconds/minutes of running. With the new upgrade to 2016, there seems to be some weird behavior.
For example, the below works totally fine
Sub Test1()
for i = 1 to 10000000
temp1 = 4 + 6
next i
End Sub
The following, however, causes my excel to crash in a couple of seconds as the memory needed in my TaskManager just keeps climbing to over 1.5GB
Sub Test2()
for i = 1 to 10000000
temp1 = worksheetfunction.Min(5,7)
next i
End Sub
I'm guessing I'll have to revert to 2013 as I have thousands of lines of code that will most likely need modification (not sure to what though)
Any ideas what could be causing this and a solution?
Thanks
Upvotes: 1
Views: 6295
Reputation: 21
This was fixed back a few months ago and today I see 2 memory leaks. It's back!
Microsoft updated last night... Jun 14/2016
Upvotes: 0
Reputation: 21
I want to let you know that the Excel team recently fixed this issue. The fix is in build 16.0.6366.2062, which started rolling out on 1/25. If you don't see the update yet, go to File > Account > Update Options > Update Now.
Upvotes: 2
Reputation: 26
Hi sorry you are hitting this. I have posted a workaround for the problem here. Please let me know if that does not resolve your issue. We will have a more permanent fix very soon.
-Tyson Murray Excel
Upvotes: 1