This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application running very slow

 
RameSan Rahul
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My server client application is running in same machine with 128 MB Ram and P3 processor. DB server also running in the same machine. It was running fine. When compiled some sources with little modifications which is not relative to the performance, it became slow.

What may be the possible reasons?

Thanks in advance
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that low memory - my first guess is the operating system is thrashing bits of memory back and forth to disk. Your slight change just went over the threshold of memory use.
Bill
 
RameSan Rahul
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks william

How can I overcome this?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reduce memory consumption or give more memory to the VM, of course. For the former, you probably want to run your application through a profiler.
 
RameSan Rahul
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ilja

I will try with the Profiler

[ August 21, 2005: Message edited by: RameSan Rahul ]
[ August 21, 2005: Message edited by: RameSan Rahul ]
 
steve souza
Ranch Hand
Posts: 862
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should always first see where the app is running slow. However, if every piece of your app is running slow (as opposed to a window or 2) it is more likely a system level problem like lack of memory, slow network IO or a slow database. If only parts of your program are slow then it is more likely a code issue.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that we are talking about a machine with only 128mb that is also running a DB, the added memory used by a profiler could alter the results.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic