WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (2) [1] 2   ( Go to first unread post )

ShellExecute Internet Explorer and Virtual Memory, when my app starts up it runs at 804K in memory, when the button is clicked and the web page opens up it jumps to 7,848K. Why?

georgek01
Quote Post


Member
**

Group: Members
Posts: 39
Member No.: 2491
Joined: 11-May 06


Hello,

I have an app that opens Internet Explorer from a URL by calling ShellExecute.

When the app starts up, it runs at 804K in memory. When the button is clicked and the web page opens up, it jumps to 7,848K. When the web page is closed, my app still runs at almost 8,000K. Why is that? Can I somehow give the used virtual memory back to the machine?

Regards,
George
PMEmail Poster
Top
SeaFarer
Quote Post


Extremely Active Member
******

Group: Members
Posts: 1753
Member No.: 1464
Joined: 2-September 05


Hi George,

Just a hunch, but its probably due to some extra .dlls loading when you launch the web browser, if so maybe they are allocating this memory that is not properly being de-allocated?

You could try using ProcessExplorer or EzProcess to see what libraries are loading and unloading. Other than that... this is an interesting topic to me also. thumbs_up.gif
PM
Top
georgek01
Quote Post


Member
**

Group: Members
Posts: 39
Member No.: 2491
Joined: 11-May 06


Using EzProcess I can see it does exactly that. When Internet Explorer loads, a host of .dlls are loaded. When Internet Explorer closes, the .dlls remains loaded.

Thanks SeaFarer for the lead.
PMEmail Poster
Top
SeaFarer
Quote Post


Extremely Active Member
******

Group: Members
Posts: 1753
Member No.: 1464
Joined: 2-September 05


Not a problem...

While 98% of the population has been busy tranced in pop-culture, downloading porn, visiting adult web sites, pirating DVD movies, games, music CD's, texting, cell-phoning, talking smack, being selfish, and just plain pretending to be doing and being all sorts of things... while the planet burns...

I would like to think my time spent here and learning how to create win32 programs in assembly with the rest of you, as well as trying to do honest work in the real world, without the public tit, and without being a pirate unless I get screwed with, has been well worth it!

I guess time will tell?

No matter what... I have learned a thing or two also!

and if...

I ever get the opportunity that I really wanted... versus the handful of people that only wanted to get me into trouble... and they know who they are...

I have a real good idea of what I would like to do..... and how I want to go about it!

Many thanks back and cheers! coder.gif
PM
Top
laledesi
Quote Post


Very Active Member
****

Group: Members
Posts: 78
Member No.: 787
Joined: 16-November 04


I just want to say thank you for all the knowledge I learn by reading your posts, SeaFarer, as well as to all posters on the winasm.net forums (and I apologize if my English is not perfect: not my native 'tongue').

Now, back to the coder.gif fun. smile.gif
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (2) [1] 2  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google