Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello again,
I have code which involves many objects that have references to each other. This causes large memory leaks since VBA is not able to deaalocate all memory that has gone out of scope. So, I set all references, etc to NOTHING when the objects terminate. Problem is there is still a significant memory leak AND it is quite time consuming. So does anyone know of a fast way to deallocate memory? The Unload statement does not seemto help either. What might be ideal is maybe a windows API function that deallocates memory. In theory we should be able to point to an address in memory and a size of the object structure and free that memory. Does anyone have know the details of we can do something like that? Any insights would be greatly appreciated. Thanks, Chris (ct60) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
XL 2007 - Out of Memory - memory leak/bug? | Excel Discussion (Misc queries) | |||
more efficient VBA? | Excel Programming | |||
More efficient way? | Excel Programming | |||
Which is more efficient? | Excel Programming | |||
The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc | Excel Programming |