Click here to Skip to main content
15,886,101 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed advanced POS system as follows

front-end using VS2003 .NET 1.1
Back-office using VS2008 .NET 3.5

my problem is my .NET 1.1 compiled front-end is use more memory in run time more than same front-end compiled in .NET2.0

windows task manager shows .NET 1.1 exe using 50,000k - 70,000k and
.NET 2.0 compiled EXE use 25,000k - 50,000k in time is this possible. i thought older language are light to memory than newer version of them.

looking for better explanation from experts?????????????????

Thanking You!

JMMS Karunarathne.
Posted

1 solution

Yes, it's possible. However there may be several reasons for this, for example:

The framework itself is enhanced between versions to use less memory

The garbage collector is enhanced between versions to better clean up the memory.

.Net framework has bugs which may cause the program to use more memory. Depending on the version, there are 'lots' of fixes in Microsoft support.

and so on...
 
Share this answer
 
Comments
Jibesh 29-Dec-12 21:10pm    
I agree Mika.
Wendelius 4-Jan-13 15:07pm    
Thanks :)
Sergey Alexandrovich Kryukov 29-Dec-12 21:57pm    
Good points, my 5.
I would also add: according to my observations, first decent version of .NET was 2.0. Everything prior to that was not really serious for an application developer, at least not quite mature for the serious use in the industry.
—SA
Wendelius 4-Jan-13 15:07pm    
Thanks :) Yes, that's a good point.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900