Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Question about releasing memory

I imagine this is a question about housekeeping more than anything else,
but...

A friend told me that in VB and some other languages that when a macro or
script ends, that it doesn't release the memory held by object variables,
and that one has to "clean up the garbage" before closing the program. Is
Excel no exception? If I use a large amount of object variables in my
application, should I reset them before closing?

If anyone can decipher what I'm saying and say it better, by all means
please do. lol

-gk-


  #2   Report Post  
Posted to microsoft.public.excel.programming
RWN RWN is offline
external usenet poster
 
Posts: 104
Default Question about releasing memory

"Set <object = Nothing"

--
Regards;
Rob
------------------------------------------------------------------------
"TBA" wrote in message
...
I imagine this is a question about housekeeping more than anything

else,
but...

A friend told me that in VB and some other languages that when a macro

or
script ends, that it doesn't release the memory held by object

variables,
and that one has to "clean up the garbage" before closing the program.

Is
Excel no exception? If I use a large amount of object variables in my
application, should I reset them before closing?

If anyone can decipher what I'm saying and say it better, by all means
please do. lol

-gk-




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Question about releasing memory

TBA,

There's a lot of good information and links here regarding memory in Excel:
http://www.decisionmodels.com/memlimits.htm

John

"TBA" wrote in message
...
I imagine this is a question about housekeeping more than anything else,
but...

A friend told me that in VB and some other languages that when a macro or
script ends, that it doesn't release the memory held by object variables,
and that one has to "clean up the garbage" before closing the program. Is
Excel no exception? If I use a large amount of object variables in my
application, should I reset them before closing?

If anyone can decipher what I'm saying and say it better, by all means
please do. lol

-gk-




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
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Not Enough Memory sstexas Excel Discussion (Misc queries) 7 December 8th 07 01:32 AM
Releasing arrays? SiriS Excel Discussion (Misc queries) 3 December 19th 05 12:46 PM
Out of memory JL Excel Discussion (Misc queries) 1 May 6th 05 06:35 PM
The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc Angus Comber[_2_] Excel Programming 1 November 7th 03 01:18 PM


All times are GMT +1. The time now is 04:50 AM.

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"