ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do i release ram after running a procedure in excel? (https://www.excelbanter.com/excel-programming/430351-how-do-i-release-ram-after-running-procedure-excel.html)

Rgriff

how do i release ram after running a procedure in excel?
 

i created a workbook with several complex procedures and every time i run a
procedure it just keeps building more and more memory, and never releases it.
is there a way to release memory after procedure has been ran?

FSt1

how do i release ram after running a procedure in excel?
 

hi
are you using the windows clipboard in your proceedures? a lot of copy/paste
in a loop?

regards
FSt1

"Rgriff" wrote:

i created a workbook with several complex procedures and every time i run a
procedure it just keeps building more and more memory, and never releases it.
is there a way to release memory after procedure has been ran?


Patrick Molloy

how do i release ram after running a procedure in excel?
 

make sure that any objects are set to nothing once you finished with them

set any arrays to null too

"Rgriff" wrote in message
...
i created a workbook with several complex procedures and every time i run
a
procedure it just keeps building more and more memory, and never releases
it.
is there a way to release memory after procedure has been ran?




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com