473,386 Members | 1,830 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,386 software developers and data experts.

Urgent - on site with GC problem!

I have a win2003 server. For a user profile it is set to "Start the
following program at login". This is a .NET 2.0 WinForm application. At no
point does the .NET garbage collector collect the unused memory. If this
option is not set and the user starts the app manually the GC runs and all
is well. Is anyone familiar with this at all? I'd like to enable this
option because it only lets them run the specified app and doesn't show a
start button etc, but I really need the GC as the server is running out of
memory!

Help appreciated, I am on site with an app running out of memory due to the
way they start the program when the user logs in!
Regards
Pete
Jun 27 '08 #1
6 874
On Jun 20, 12:46*pm, "Peter Morris" <n...@thanks.comwrote:
I have a win2003 server. *For a user profile it is set to "Start the
following program at login". *This is a .NET 2.0 WinForm application. *At no
point does the .NET garbage collector collect the unused memory. *If this
option is not set and the user starts the app manually the GC runs and all
is well. *Is anyone familiar with this at all? *I'd like to enable this
option because it only lets them run the specified app and doesn't show a
start button etc, but I really need the GC as the server is running out of
memory!

Help appreciated, I am on site with an app running out of memory due to the
way they start the program when the user logs in!
Just as a temporary workaround, what happens if you write another
application which does nothing but start the normal app? That might
make it start in a more "normal" way instead of doing whatever's odd
at the moment.

Does sound very weird though...

Jon
Jun 27 '08 #2
Error message "Cannot start application....." naming the console app I wrote
to start the WinForm app.

I'd phone MS support but £199 + VAT???
Any other ideas?
Pete
Jun 27 '08 #3
On Jun 20, 1:27*pm, "Peter Morris" <n...@thanks.comwrote:
Error message "Cannot start application....." naming the console app I wrote
to start the WinForm app.
Eek - with no more information? Does that user have enough security to
access that app? If you make the app do nothing but log something to
disk, does it work? How about if you make it a non-Console app - make
it a WinForms app that never brings up a form. It could be that it
can't allocate a console...
I'd phone MS support but £199 + VAT???

Any other ideas?
Not beyond the ones above for getting my original idea to work.
Hopefully someone with more of a clue will chime in...

Jon
Jun 27 '08 #4
>>
Eek - with no more information? Does that user have enough security to
access that app? If you make the app do nothing but log something to
disk, does it work? How about if you make it a non-Console app - make
it a WinForms app that never brings up a form. It could be that it
can't allocate a console...
<<

Actually it's now doing this with the original app too, someone has changed
the user settings and now it seems this option is not permitted. Oh well
:-)

--
Pete
=========================================
I use Enterprise Core Objects (Domain driven design)
http://www.capableobjects.com/
=========================================
Jun 27 '08 #5
"Peter Morris" <no@thanks.comwrote in message
news:OD**************@TK2MSFTNGP04.phx.gbl...
Error message "Cannot start application....." naming the console app I
wrote to start the WinForm app.

I'd phone MS support but £199 + VAT???
Any other ideas?
<putting on flame retardant underpants>

Switch to Delphi? :)

Jun 27 '08 #6
Copy an EXE to Program Files as admin and it is not automatically available
to all users, I think that was the 2nd problem. I will do some tests and
report back.

--
Pete
=========================================
I use Enterprise Core Objects (Domain driven design)
http://www.capableobjects.com/
=========================================
Jun 27 '08 #7

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

Similar topics

1
by: Tony Archer | last post by:
(Forgive the dupicate post, I had left out the OS Version out of the prior post.) Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
1
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
4
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
0
by: Lopamudra | last post by:
I've installed passport sdk on to windows 2003 and I have received a key from netservicesmanager.com. I have set securelevel in the registry to 0. When I click on the link generated by logotag2 it...
5
by: Vishal | last post by:
Hello, I already asked this question in the ASP.NET forums, but no help came. So I am hoping that somebody can help me out. This is really very URGENT me. For my e-commerce application, I...
3
by: Microsoft Newsgroups | last post by:
Hi all, I'm having an interesting problem with my IE Webcontrols. I'm using the toolbar and when I test it in my browser using "http://localhost/mysite", it works fine. Incidentally, I have...
7
by: Gordon Smith | last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows Server 2003 production server. 3 of them work fine. I just installed the 4th one and it's Application_Start event is not...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
4
by: Jeff Cobelli | last post by:
I am running two sites on the same server, one for live clients and one for testing before we post to live. Each site contains both C# and VB.NET web services that connect to a SQL Server 2000...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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...

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.