By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,379 Members | 1,646 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,379 IT Pros & Developers. It's quick & easy.

reg 'System' function

P: n/a
hello folks,
when i'm using 'System' funtion in TC, perror function is outputting
the
following error msg..." Not enough memory"
wat does it mean? how to get rid of this situaiton?
plz help me out!

Dec 29 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On 2005-12-29, Harsh_forC <sr***************@gmail.com> wrote:
hello folks,
when i'm using 'System' funtion in TC, perror function is outputting
the
following error msg..." Not enough memory"
wat does it mean? how to get rid of this situaiton?


Buy more memory, probably

Please provide more details, such as some actual code
Dec 29 '05 #2

P: n/a
"Harsh_forC" <sr***************@gmail.com> wrote:
# hello folks,
# when i'm using 'System' funtion in TC, perror function is outputting
# the
# following error msg..." Not enough memory"
# wat does it mean? how to get rid of this situaiton?
# plz help me out!

Is this one of those systems that reserve all available memory
to the one running program?

--
SM Ryan http://www.rawbw.com/~wyrmwif/
Elvis was an artist. But that didn't stop him from joining the service
in time of war. That's why he is the king, and you're a shmuck.
Dec 29 '05 #3

P: n/a
Jordan Abel wrote:
On 2005-12-29, Harsh_forC <sr***************@gmail.com> wrote:
hello folks,
when i'm using 'System' funtion in TC, perror function is outputting
the
following error msg..." Not enough memory"
wat does it mean? how to get rid of this situaiton?


Buy more memory, probably

Please put some code to help us sorting out your problem.

Are you using Turbo C IDE? If you are, then in that case this message
will be flashed. Try quiting the IDE and run the program from outside.

Madhav.

Dec 29 '05 #4

P: n/a
"Harsh_forC" <sr***************@gmail.com> writes:
when i'm using 'System' funtion in TC, perror function is outputting
the
following error msg..." Not enough memory"
wat does it mean? how to get rid of this situaiton?


There is no "System" function in standard C. Do you mean the "system"
function? (I'm not just being picky; "System" and "system" could be
two distinct functions.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 29 '05 #5

P: n/a
Hi,

Please send us the code snippet you are tring to execute.

ENOMEM normally comes when the new process requires more memory than it
is currently available. May be one option is to try executing the light
process in system(..) and after that see you get the same error.

HTH
Rahul

Dec 29 '05 #6

P: n/a
Harsh_forC wrote:

when i'm using 'System' funtion in TC, perror function is
outputting the following error msg..." Not enough memory" wat
does it mean? how to get rid of this situaiton? plz help me out!


I would strongly suspect it means that there is not enough memory
available to do what you want.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Dec 29 '05 #7

P: n/a

"Harsh_forC" <sr***************@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
hello folks,
when i'm using 'System' funtion
There is no function 'System' in standard C. I'll assume
you mean 'system'.
in TC, perror function is outputting
the
following error msg..." Not enough memory"
wat does it mean?
It means there's not enough memory available to your program
to perform whatever operation it requested. What is that
operation and how much memory does it need? We'll never
know unless you post your code.
how to get rid of this situaiton?
Either reduce the amount of memory required by your
'mystery' operation (how? : change the code); or:

Provide enough memory to meet its existing requirements
(how?: this will depend upon your system. With a multitasking
system, perhaps simply terminating some other processes
will suffice. Changing your code so it doesn't use as much
memory in other places might free up enough. And there's
always the option of installing more physical memory (but
how or whether this actually increases the memory available
to your program is system dependent.)

plz help me out!


Please be specific when asking for assistance here.

-Mike
Dec 30 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.