How do I make the memory usage work at anything under 25Mb of memory???
Hello I wish to know how to make the memory usage of the Visual Basic Windows Application, that I have added in this Post such as the File Attachment, be worked at anything under 25Mb of memory. Due to the reason that it is now working at about 108Mb of memory, when I haven't done anything but run it as is. Can someone please help me with this matter at hand???
!! Thanks in advance !!
Attachment 100245
Re: How do I make the memory usage work at anything under 25Mb of memory???
Follow the tips discussed in Optimizing for Size and Save memory.
Re: How do I make the memory usage work at anything under 25Mb of memory???
Also that please note that for future reference for anyone that has viewed this Thread, I have been able to make a major change to the memory management system of this Windows Application. Now this Windows Application uses about 65Mb of memory, instead of over one hundred megabytes, of memory...
Re: How do I make the memory usage work at anything under 25Mb of memory???
I did not look at the program but that sounds like a lot of memory to use, then again I assume it is using the IE browser stuff which has became pretty memory hungry. VB6 and projects created in it on the other hand worked just fine under windows 98 on system that only had 16-32mb ram
Re: How do I make the memory usage work at anything under 25Mb of memory???
Yeah and also 8Mb of memory, too!!
Re: How do I make the memory usage work at anything under 25Mb of memory???
The Final Build, is about 112Kb in total file size and a 108Mb of memory, really hurts me, too...
Re: How do I make the memory usage work at anything under 25Mb of memory???
IE 7 uses almost 50 megs right out of the gate so if you want to get under 25 megs with a browser component you will probably have to go a different route. Then again it really should not matter a lot on modern computers as pretty much everything measures ram in Gigs now
Re: How do I make the memory usage work at anything under 25Mb of memory???
Yes but then I was always taught that you have to make your projects small in file size and also memory requirements, cause that is the efficent way of Windows programming...
Re: How do I make the memory usage work at anything under 25Mb of memory???
Quote:
Originally Posted by
ThEiMp
... I was always taught that you have to make your projects small in file size and also memory requirements, ...
Then I believe you already know everything the links in post #2 discusses. If so, then you should have no problem slimming down your bloated program. ;)
Re: How do I make the memory usage work at anything under 25Mb of memory???
The app is small in file size but not in memory usage, for that reason that I went and made this Thread. Which yes I did read everything in the details of the library, that you linked to this Thread and also that I still cannot find out how to make it use less memory...
Re: How do I make the memory usage work at anything under 25Mb of memory???
Well remember that when you use the web browser control you are basically using the engine of the installed version of IE which uses a lot of memory. Launch IE on your system and look at the memory usage. I doubt that you can get the usage under 25mb as long as you are using this.
Re: How do I make the memory usage work at anything under 25Mb of memory???
1 Attachment(s)
Re: How do I make the memory usage work at anything under 25Mb of memory???
Wish I could have a look (and many others on this forum)!
Every time I try to compile or run in the IDE your projects, they never work out!
There is always errors or missing ocx??
Not sure if it's just me but I can never figure out how to work your projects out.
Is it a top secret project, or maybe we are missing ocx files, or maybe there is a certain order in which one to compile first?
Anyways as pointed out earlier if you have use WebBrowser control, even if naked (just webbrowser) is already at 25 000 k+ which is about 25mb +.
WebBrowser uses the same Rendering Engine (Layout Engine), which is Trident.... http://en.wikipedia.org/wiki/Trident_(layout_engine)
Attachment 100307
Re: How do I make the memory usage work at anything under 25Mb of memory???
-- Okay I will package as much as of the source code as I can, just wait I have to get clearance from the head techies...
Re: How do I make the memory usage work at anything under 25Mb of memory???
Well I cannot post the source code of the whole project only snippets, of it that don't amount to very much. So then sorry for the delay to getting back to you, this is when I begin my other shift on the job, office here. So then also I am going to mark this Thread as Resolved, since there isn't any way to make this Project use anything less than what it is using right about now...