Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
A software is going to run for almost a day. I do not want my personal home pc to blast off.
Basically, the application will run and collect usage statistics and then store into a database.
The application will then retrieve values from the database to perform calculations on them.
Based on those calculations, some sort analytics will be performed and results will be generated in the form of graphs and also stored.
The code is in c#.net

1. I want to know if there are risks involved in this?
2. How to avoid this and simulate the process?

What I have tried:

I have tried running it for 1 hour.
I have also had an idea of running in intervals.
Posted
Updated 28-Feb-17 9:47am
v2
Comments
CHill60 28-Feb-17 13:38pm    
Not enough information to assist you.
kuharan 28-Feb-17 13:42pm    
I have tried my best to explain it. I cannot post the code for some reason.
CHill60 28-Feb-17 13:49pm    
"for some reason" - what happens?
"usage statistics" - of what, from where?
Why will it run for almost a day?
Do the calculations have to run in parallel to the data collection?
"some sort analytics" - what sort?
"in the form of graphs and also stored" - you want to store the graphs or the data that can generate them?
Why are you running this on your personal home pc. What makes you think it will "blast off"?
Is this a local database or is it elsewhere?

All of those questions are just off the top of my head. Some may not even be relevant - You haven't actually explained anything. If you don't give a clear statement of your problem then we can't really help
kuharan 1-Mar-17 10:02am    
Do you think I was unable to write the details? I didn't expose the code since it is secret.

Let me clarify your doubts still
For some reason? - I didn't get this phrase in my write up. The comment where this phrase is, is self-explanatory.
usage statistics - Of the system.
Why will it run for almost a day? To collect data and usage statistics. And thats is the objective.
Do the calculations have to run in parallel to the data collection? Yes
some sort analytics - Some kind of. There are many analytics involved in this. Cant give details of each.
"in the form of graphs and also stored - The data would be interpreted in the form of graphs, the graphs would be stored, the results, the intermediate values , everything.
Why are you running this on your personal home pc. - Since i am at home.
What makes you think it will "blast off"? - it is intensive and it might do that.
Most of your questions are meaningless. Some are not relevant too as you have said. And ofcourse I cant explain everything.
CHill60 1-Mar-17 11:30am    
If you are not prepared to go into more detail then we really can't help you - we can't read minds.
Solution 1 is about as far as we can go with the information you are giving us. You've replied saying you "have faced issues which are unexplainable". All I can suggest is that you debug your program(s) thoroughly

1 solution

Difficult to give advices with so little details.
Quote:
1. I want to know if there are risks involved in this?

There is no risk with a software written will enough. Note that it is always possible to write a program so bad, so biassed that it will need more resources as time goes on and in the end it can crash your PC by hogging all resources.
In fact, depending on how the software is written, it range from safe to catastrophic.
Quote:
2. How to avoid this and simulate the process?

Simulating a process need more resources than the process itself, so it is not a good idea.
Quote:
I have tried running it for 1 hour.

Your only forgot to tell us if you got problems during that hour. Did you see it eating more and more memory or was it stable ?
 
Share this answer
 
Comments
kuharan 1-Mar-17 9:52am    
I have faced issues which are unexplainable. There must be something in it, that is why am asking this question?
Patrice T 1-Mar-17 12:26pm    
Without seeing code, it will be complicated to help you.

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