Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
raj raj is offline
external usenet poster
 
Posts: 1
Default memory issues with Excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default memory issues with Excel

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot tables - memory issues - please help apss40 Excel Discussion (Misc queries) 2 June 20th 09 01:38 AM
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Excel Memory Issues TXSteveO Excel Discussion (Misc queries) 4 January 1st 07 01:26 AM
Memory Issues keepitcool Excel Programming 0 August 25th 03 02:47 AM
Excel+Not Enough Memory.. Olly[_2_] Excel Programming 3 July 9th 03 03:39 PM


All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"