473,414 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

My application takes up 1.5GB of memory in release mode, but only 370mb in debug mode...why?

Hello all,

I have an application written in VB.Net that comsumes a webservice.

We are having issues with speed. I have not ruled out a webservice problem,
and this was my first guess. However when running through my application in
release mode the application's (assemblyname.vhost.exe) memory usage
fluctuates heavily and goes upto a max of 1.5GB and then rests on 1GB once
the application is loaded. This does not occur in debug mode, it stays
around 370mb...

The memory does spike on the first call to the webservice, and it is WAAAY
to slow as its just doing a version check, (ie grabbing a small string
value)...

Does anyone have any ideas on where to look? What to check? how can I solve
this? :(

Thank you so much for any ideas anyone can shed on this
John Sheppard
Jan 16 '08 #1
4 1301

Well first of all get rid of the assemblyname.vhost.exe you should only
release the assemblyname.exe

vhost is a hosting process used by Visual Studio that improves debugging
performance, enables partial trust debugging, and enables design time
expression evaluation.
hth

Michel

"John Sheppard" <sp**@nospam.comschreef in bericht
news:fm*********@news2.newsguy.com...
Hello all,

I have an application written in VB.Net that comsumes a webservice.

We are having issues with speed. I have not ruled out a webservice
problem, and this was my first guess. However when running through my
application in release mode the application's (assemblyname.vhost.exe)
memory usage fluctuates heavily and goes upto a max of 1.5GB and then
rests on 1GB once the application is loaded. This does not occur in debug
mode, it stays around 370mb...

The memory does spike on the first call to the webservice, and it is WAAAY
to slow as its just doing a version check, (ie grabbing a small string
value)...

Does anyone have any ideas on where to look? What to check? how can I
solve this? :(

Thank you so much for any ideas anyone can shed on this
John Sheppard

Jan 16 '08 #2
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:e6**************@TK2MSFTNGP05.phx.gbl...
>
Well first of all get rid of the assemblyname.vhost.exe you should only
release the assemblyname.exe

vhost is a hosting process used by Visual Studio that improves debugging
performance, enables partial trust debugging, and enables design time
expression evaluation.
Further to that, you can actually turn off the use of the vhost file by
unchecking "Enable the Visual Studio hosting process" in the Debug tab of
the project's properties. This should give you a more accurate look at how
long your app takes to run.

Jan 16 '08 #3

"Leon Mayne" <leon@rmv_me.mvps.orgwrote in message
news:53**********************************@microsof t.com...
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:e6**************@TK2MSFTNGP05.phx.gbl...
>>
Well first of all get rid of the assemblyname.vhost.exe you should only
release the assemblyname.exe

vhost is a hosting process used by Visual Studio that improves debugging
performance, enables partial trust debugging, and enables design time
expression evaluation.

Further to that, you can actually turn off the use of the vhost file by
unchecking "Enable the Visual Studio hosting process" in the Debug tab of
the project's properties. This should give you a more accurate look at how
long your app takes to run.
Ok, I have switched those off, it still takes up 1.2GB of ram and runs
considerably slower than in debugging mode (approximatly 200% slower) :(

I have tried looking at perfmon to see what is happening. I will post links
to images of those up so they can be seen if that will help. (its
interesting?:)

I will try build it on my vista box when I get home, see what happens then.

Any other thoughts? I have wrapped activex controls in the application is
that likly to be an avenue to scope out? The application is slow far before
any of those controls are used however.

Thank you SO much for your ideas, cause im kinda stumped...
John Sheppard

Jan 16 '08 #4
"John Sheppard" <no****@spamspam.comschrieb
Any other thoughts? I have wrapped activex controls in the application
is that likly to be an avenue to scope out? The application is slow
far before any of those controls are used however.
http://www.microsoft.com/downloads/d...displaylang=en
Armin

Jan 16 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: liangrf | last post by:
My server app is transformed from environment of UNIX to Windows. Its ran on the Apache Windows Server. The code is compiled pass by MSVC6 and ran well. but it has more memory leak. when I am...
3
by: Hasani | last post by:
I'm creating a .net db provider and I came across a weird problem w/ my data reader. The .net provider was created in managed c++ becuase the db api is also c++. I'm calling the code from a c#...
5
by: David Krmpotic | last post by:
it's me again.. with quite interesting discovery :) I was tracing an error for 3 hours instead of 3 minutes because of this surprise. Recently I'm compiling this project in RELEASE with Debug...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
4
by: Ravi Ambros Wallau | last post by:
Hi: We developed a set of ASP.NET Web Applications that never runs in stand-alone mode, but always inside a portal (Rainbow Portal). All modules are copied on that portal. My question is: load...
2
by: WB | last post by:
Hi, I have a C# Windows application that reads a bunch of PDF files and append them together. Basically it does it by reading a first 2 PDF files, append them and save the result as a PDF file....
11
by: martin1 | last post by:
Hi, I want o deploy window app to another PC, which does not .Net 2.0 component. The window app has some .Net 2.0 support, so how to deplot the app to that PC? Thanks
5
by: sujeet | last post by:
Dear friends, I'm facing a strange problem... My Application is in Debug mode, and the third party static library i'm using is in release mode. When i compile and try to link my...
4
by: John Sheppard | last post by:
Hello all, I have an application written in VB.Net that comsumes a webservice. We are having issues with speed. I have not ruled out a webservice problem, and this was my first guess. However...
1
by: John Sheppard | last post by:
Hello, I have been trying to track down a problem. The symptoms are as follows - My application takes up 1.2gb of memory (when looking in windows task manager) - It runs very slowly To...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.