LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
WHA WHA is offline
external usenet poster
 
Posts: 21
Default VBE windows, zoom, ActiveX controls: Just one hit on memory, or many?

Hi. I'm WHA. You might remember me from such USENET help request posts
as "Memory Problem: Have I hit the 64K boundary?" and "Memory problem:
Out of Memory and cannot save." I have a new observation and a couple
more questions.

The observation: When I minimize the Excel main and VBE windows, the
"Mem Usage" reported for EXCEL.EXE in Task Manager goes down from
20-40MB to under 5MB. Granted, when I un-minimize these windows, the
memory usage goes back up, but it is interesting. Does it say anything
about my problem?

My main question, though, is about some of the usual suspects I've
heard about with regard to memory consumption: Leaving many VBE
windows open; having a Zoom other than 100%; and putting ActiveX
controls on worksheets. I've done each of these and expected that they
would each inflict a temporary or one-time boost in memory
consumption. But could it be that, over time, these issues eat up more
and more memory?

If the answer to that last question is Yes, would you recommend that I
move all my ActiveX controls (about 5 on the "home" worksheet, 20 on
another worksheet) into UserForms and ask the users to keep the Zoom
at 100? I hope this is not necessary...

Thanks in advance, WHA

Background: I am building a VBA-based tool in Excel 2003 on Windows
XP. I'm having some kind of memory leak problem: I get "Out of
memory," with no mention of Error 7. This can occur simply when I am
in the VBE without any of my code running. Also, after the error
occurs, I am unable to save the workbook, even to a local drive. This
is the fifth of four -- err, five -- posts with questions about what
the source of this error might be.

FACTS (updated with some more info). I am using:
MS Office Excel 2003, SP3
MS XP Professional Version 2002, Service Pack 2
Dell Inspiron 9400; Intel Core2 CPU; ; 998MHz, 2.00GB of
RAM
"Total paging file size for all drives: 2046 MB" in System Properties/
Performance Options
Less than 600MB of PF Usage in Task Manager
My Excel workbook is about 2MB in size. It goes down to about 1.5MB
when I run Code Cleaner.
When the memory error occurred recently, EXCEL.EXE was taking up about
55MB of memory (according to Windows Task Manager).
Preliminary measuring of =INFO("memused") seems to show 1.2MB when
tool is first loaded, then to fluctuate between 2 and 3 MB. (I did not
test this when the memory error occurred.)
 
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
Tab between ActiveX controls Tekhnikos Excel Discussion (Misc queries) 0 August 12th 08 03:42 PM
Memory problem: Userforms and ActiveX controls: How many is too many? WHA Excel Programming 0 November 30th 07 03:49 AM
ActiveX controls Luke Excel Discussion (Misc queries) 1 October 26th 06 02:00 PM
ActiveX Controls vs Form Controls Alex Excel Discussion (Misc queries) 1 January 11th 06 08:46 AM
Windows Zoom Kaval Excel Programming 1 April 4th 05 04:12 AM


All times are GMT +1. The time now is 10:19 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"