Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello -
I have the following queries re. memory allocation in Excel 1. Can one increase the total allocation of memory 2. How can clean variables from memory The reason - I have a for-next loop running a number of processes. I initialize all variables at the end of the loop, but for some reason, memory usage keeps increasing and excel crashes out after a while. Any guidance appreciated. Regards, Raj |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Raj,
Are you using redim'd arrays? It sounds to me more like a recursive loop is running. i.e. your code is calling itself from within itself. try using a subset of your data, and having excel prompt you with a msgbox containing your variables to see if they are within the correct ranges and to try and determine whether you are calling the routine from within itself. If all else fails post the code. Steve "raj" wrote in message ... Hello - I have the following queries re. memory allocation in Excel 1. Can one increase the total allocation of memory 2. How can clean variables from memory The reason - I have a for-next loop running a number of processes. I initialize all variables at the end of the loop, but for some reason, memory usage keeps increasing and excel crashes out after a while. Any guidance appreciated. Regards, Raj |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot tables - memory issues - please help | Excel Discussion (Misc queries) | |||
XL 2007 - Out of Memory - memory leak/bug? | Excel Discussion (Misc queries) | |||
Excel Memory Issues | Excel Discussion (Misc queries) | |||
Memory Issues | Excel Programming | |||
Excel+Not Enough Memory.. | Excel Programming |