memory use and other requirements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have several questions...

First, I wounder how I can find out how much memory my windowsapplication is
using(ned to use) and keeping it on a minimum? Any tips and tricks
appreciates.

I also wish to write a minimum - requirelist for my application.. type of
operatingsystem, memory, space on hardisk etc. How do I achieve this.. best
way...

Basic info about my aplpication:
Its an application using 35 forms, Crystal Decisions for handling my reports
and Gigasoft ProEssentials handling the charts. I'm using MS Visual Studio
Enterprise Architect 2003 and C-sharp as programming language. On the bottom
there is also a SQL server.

By the way... The setup-file, created by InstallShield, is on 55MB.

Are grateful for any help
 
Hi,

The answer for your question will be generic, only running it you will know
the answers.

First, I wounder how I can find out how much memory my windowsapplication
is
using(ned to use) and keeping it on a minimum? Any tips and tricks
appreciates.

You can find your memory use by using the Task Manager, you can know it
frmo the code using Process.virtualMemorySize , also you can use performance
counters, I would go for the easier one , the task manager :)

You keep it to a minimun by releasing any objects that you do not use
anymore, it does depend also of how you make use of DBs, you SHOULD not use
sql server unless really needed you should go with MSDE instead.
I also wish to write a minimum - requirelist for my application.. type of
operatingsystem, memory, space on hardisk etc. How do I achieve this..
best
way...

Well, you should know what you use, and more imoprtant what you do not pack
with your setup, example is CR you are using it and you are packing it with
your apps so it's not a requirement, if you use something like
FileSystemWatcher you have to require winNT or bigger, not win98 . again it
does depend of your code, only you can know this


Cheers,
 
Hi,

Thank you for your reply.

I'm not realy sure if I understoud what you ment with MSDE.... and "not use
SQL server"...

In my database I have over 50 tables and constrains. And some tables will
grow with over 10'000 rows or more.

I'm using the database as a source for accesscontrol to my application,
tracking log and storing data etc...

Should I use something else... ?
 
I forgot to tell that I'm running the SQL server on an external
computer/server... and not localhost.
 
Hi,

The thing is that MSDE can be shipped with your app, wheter MS-SQL server
needs to be purchased separately.

IIRC MSDE has the same data management capabilities than MS-SQL server. You
better chekc the doc about it, as well as how to ship it with your app

Cheers,
 
Back
Top