Coalwater,
Within task manager (or Sysinternals Procexp) right click on the
process and select 'Set Affinity'. Then from the pop-up dialog you can
select which processors the process is allowed to execute from. And,
by doing this it would give a very big hint that the multi-processor
environment is what is the big problem.
And, in re-reading my previous response I noticed I did not explain
why multi-processors can/will exacerbate a poor memory handling
software design. This design problem most often will show up in
applications which are multi-threaded (multiple threads executing
simultaneously). But with a single processor 'simultaneous' really is
not. The problem actually comes about when 1 thread tries to allocate
memory (usually for a buffer, sometimes for the stack) at the same
time as another thread is performing the same function (but with
slightly different timings). And without a proper signaling (between
threads) design the threads get into a race condition and very soon
(or it could take some time) memory becomes exhausted because one
thread allocates the memory, the other thread uses it but does not
release it because it did not allocate it and the one did not release
it because it did not use it. In a single processor environment the
1st thread would allocate, use and release and there would be no
problem. This explanation is just a general one as to the type of
problem that can be seen with applications designed for single
processors, but running on multiple processor.

On Sep 18, 6:42 pm, Mohammad AbuShady <[email protected]> wrote:
> I was gonna say maybe it's a bad ram chip and suggest to run the
> system with a different chip each time, but after reading what KwikOne
> said i'd say you can make the program dedicated only to one core to
> handle it from task manager, don't remember how exactly but i think it
> was accessable by right clicking the process name it the processes
> menu, should solve the problem if that's the case
>
> On 9/18/09, The KwikOne <[email protected]> wrote:
>
>
>
>
>
> > You do not say whether the system which works ok has 4 processors or
> > not. This does more sound like a software bug with the program which
> > only occurs under specific circumstances. Most out of memory
> > conditions of the malloc/calloc are caused by software bugs. And when
> > you start getting into multiple processor configurations poor software
> > design, with regards to memory usage, will have bugs magnified.
>
> > On Sep 15, 10:27 am, RBlaise <[email protected]> wrote:
> >> Hello,
> >>   I am running a software mascot in a system. Which has 1tera bytes of
> >> hard drive and 8 gb ram with 4 processors. I am getting a error for a
> >> couple of conditions. It gives me an error"out of memory --(malloc/
> >> calloc/new)".. But I could run the same software perfectly in a system
> >> with 2 gb ram 1 processor and 59 gb hard drive.
>
> >> How can a software run perfectly fine in a system with 2 gb ram and
> >> have memory issues with 8 gb ram.. Do I have to have more ram based on
> >> the processors and hard drive memory. I was trying to make it work for
> >> past 2 weeks and I am running out of options.
>
> >> I could run the software with different set's of conditions and it
> >> gives me results.Please help me if you have any idea's..
> >> Thank you
>
> --
> Sent from my mobile device
>
> ~Coalwater~
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Computer Tech Support" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/computer-tech-support?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to