Hi,
I had this problem before I reinstalled Windows XP SP2 (fully patched),
but I cant remember what I had to do to fix it :(
I have a loop which scans every pixel in a series of images. When
compiled it completes 10 images in about 6 seconds, which is acceptable
and as expected.
When i run it through VS it does about 1 frame every 10 seconds.
Obviously it should be slightly slower, but not this bad!
Ive tried turning off "edit and continue" but that doesnt make a difference.
Can anyone offer any other suggestions?
My VS setup is as default, I've not changed any other settings.
Thanks,
Regards
Andrew
Feb 7 '06
14 1752
Willy Denoyette [MVP] wrote: Scaring, the number of Pages/Sec is extremely high, that means there is memory trashing (extreme paging). What's the value of the Memory' 'Committed bytes' and the 'Available Bytes' counter? What else do you have running on this box? What are these processes consuming in terms of committed bytes?
Willy.
Hi, Not sure exactly where to find "committed bytes" but ive shown "%
committed bytes" on perfmon and it only goes up by about 2% when opening
the program, and another 2% for each image it loads.
in the alt-ctrl-del performance window it says:
Commit Charge (K)
Total: 401000 ish
Limit: 2011872
Peak: 499008
Kernel Memory(K)
Total: 59100
Paged: 35032
Nonpaged: 24068
Physical:
Total: 523760
Available: 131010 ish
System Cache: 147024
The only other thing running apart from system things is Thunderbird
in alt-ctrl-del process manager:
devenv.exe is 102Mb
thunderbird is 30meg
explorer 17meg
and loads of 1meg ish things
I usually have 100s of things open and don't experience too much paging lag.
My pagefile is on a seperate logical drive and fixed at 1.45 gig. My Ram
is 2 sticks of separately managed 256Mb. (Mobo is an Abit NF7 s V2) I
have all current platform drivers etc. This is no different to before my
windows reinstall, when i didnt have this problem.
Thanks for helping me out with this, I hope you can help me sort it :)
Regards
Andrew
Forgot to say, where it goes up by 2% each time, it starts at 20%.
Andrew
Willy Denoyette [MVP] wrote: Scaring, the number of Pages/Sec is extremely high, that means there is memory trashing (extreme paging). What's the value of the Memory' 'Committed bytes' and the 'Available Bytes' counter? What else do you have running on this box? What are these processes consuming in terms of committed bytes?
Willy.
Exactly the same problem occurs on my other pc.
This is a fresh xpsp2 install, default windows settings wrt
memory/paging etc.
Why is it running soooo sloooowww in development, but runs fine when
fully compiled?
:'(
Andrew
scroll down in the same list where you found %committed bytes, note that
"Available Bytes" is in the same list ("Memory" Performance Object). Don't
use Taskman, I prefer figures from Perfmon.
As I told you previously, your "pages/sec" counter seems too high, but now I
re-read your previous post I'm not sure what you mean with "is at 100 and
jumps to 90", what I need is the "value" in maximum and average text boxes
(labels). High values during run are an indication that hard paging happens,
and that results in bad performing applications.
So what you should do is inspect the values I gave above and watch them
before program start and while program runs.
Forget about the forum post for the moment, this is not about running in VS
vs. stand-alone.
Willy.
"Andrew Bullock" <an************ *********@ANDnt lworldTHIS.com> wrote in
message news:Mj******** ********@newsfe 3-win.ntli.net...
| Willy Denoyette [MVP] wrote:
| > Scaring, the number of Pages/Sec is extremely high, that means there is
| > memory trashing (extreme paging).
| > What's the value of the Memory' 'Committed bytes' and the 'Available
Bytes'
| > counter?
| > What else do you have running on this box? What are these processes
| > consuming in terms of committed bytes?
| >
| > Willy.
| >
|
|
| Hi, Not sure exactly where to find "committed bytes" but ive shown "%
| committed bytes" on perfmon and it only goes up by about 2% when opening
| the program, and another 2% for each image it loads.
|
| in the alt-ctrl-del performance window it says:
|
| Commit Charge (K)
| Total: 401000 ish
| Limit: 2011872
| Peak: 499008
|
| Kernel Memory(K)
| Total: 59100
| Paged: 35032
| Nonpaged: 24068
|
| Physical:
| Total: 523760
| Available: 131010 ish
| System Cache: 147024
|
| The only other thing running apart from system things is Thunderbird
| in alt-ctrl-del process manager:
|
| devenv.exe is 102Mb
| thunderbird is 30meg
| explorer 17meg
| and loads of 1meg ish things
|
| I usually have 100s of things open and don't experience too much paging
lag.
|
| My pagefile is on a seperate logical drive and fixed at 1.45 gig. My Ram
| is 2 sticks of separately managed 256Mb. (Mobo is an Abit NF7 s V2) I
| have all current platform drivers etc. This is no different to before my
| windows reinstall, when i didnt have this problem.
|
| Thanks for helping me out with this, I hope you can help me sort it :)
|
| Regards
|
| Andrew This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Schreiber |
last post by:
Hi Everyone,
Does anybody knows why php runs so damm slow on solaris.
PHP works fine, but if you use the array function it get really slow.
everyone could try it on different platforms.
fill a array with 100.000 elements in a loop and you will see what i mean.
debugger output shows that php ist trying to get memory for each element.
|
by: Brian Henry |
last post by:
I know some of you have seen this problem. Stepping through code in the
debugger is slow as heck in Visual Studio 2005. Well here is the problem,
Edit and continue. Because edit and continue does run time compileing of
code as it executes, it causes a big slow down in execution time. To disable
this and return the debugger to the normal speed as it was in VS.NET 2003,
do the following.
Go to tools menu > options
Select debugging form...
|
by: Shaji |
last post by:
Dear All,
I am using VS.Net (and most of you, of course) for a quite long period for
web development for medium to large development tasks. My humble opinion is
vs.net is eating up a lot of developer time, as far as the web development
is concerned.
|
by: B B |
last post by:
Okay, here is what's happening:
I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz
P4) doing .net development.
Running Windows XP pro, SP2
IIS is installed and running fine
All SQL Servers I am referring to share a small (10 computers or so) LAN
with a 100MB Switch.
No other computers on the LAN exhibit this problem.
|
by: Bob Graham |
last post by:
This code:
txRate.Text = Format(payRate, "C")
(payRate is already succesfully set to a value such as 15D)
takes about 3-4 seconds to run the first time, after that it's plenty fast.
What makes it slow on the first call?
Bob Graham
| |
by: schmurgon |
last post by:
Debugging my 1.1 framework ASP.NET web application (which talks to a
..NET Web Service on the same machine) has become extremely slow since
installing VS 2005 and / or SQL Server 2005. It takes between 2mins to
4 mins to step into the first web page!
Watching the output window, the first 15 to 20 assemblies load fast,
but then performance gradually decreases to the point where a single
line (indicating a loaded assembly in the Temporary...
|
by: DCC-700 |
last post by:
I am running VB for ASP.Net in VS.Net 2003 and am experiencing extremely slow
response in the ide at times and the debugger. Below is additional detail on
the problem. Any thoughts are much appreciated.
VS.Net IDE Extremely Slow
Symptoms:
· When you type in IDE editor you have to wait several seconds before the
text appears
Observations:
· This occurs for a page with many controls and a lot of code when editing
|
by: rperreta |
last post by:
I'm using VB .NET and it is extremely slow. I went through all the support
channels a few months back and since then have stopped development on the
project. We are losing money and I have developers idle. Whats the deal MS?
Everyone on the forums and all over the web are complaining about this why
has there not be a hotfix or something yet?
I have an application that is mid stream upgrade and the exe as well as the
dev environment is...
|
by: colin |
last post by:
Hi,
Ive written a 3dmodel editor, and it works fairly well
it harldy uses any cpu exept when its loading a texture from bitmap
in the debugger, at all other times it hardly uses any cpu
but from the debugger even in release mode it takes a second or so
to load a 65k texture, with a 2ghz pc this is 10k instructions per pixel !
I cant understand what its doing here, can anyone shed any light on this ?
I have the d3d debug turned off...
|
by: =?Utf-8?B?bGxldmk=?= |
last post by:
Hi there.
I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
under IIS, but it takes at least a minute before it allows me to enter
keystrokes after pressing ctl+f5.
environment: vista home premium, visual studio .net 2005.
Any ideas as to why this is so slow? how may i resolve this issue?
Thanks in advance,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |