Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > reg 'System' function

Reply
Thread Tools

reg 'System' function

 
 
Harsh_forC
Guest
Posts: n/a
 
      12-29-2005
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!

 
Reply With Quote
 
 
 
 
Jordan Abel
Guest
Posts: n/a
 
      12-29-2005
On 2005-12-29, Harsh_forC <> 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
 
Reply With Quote
 
 
 
 
SM Ryan
Guest
Posts: n/a
 
      12-29-2005
"Harsh_forC" <> 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.
 
Reply With Quote
 
Madhav
Guest
Posts: n/a
 
      12-29-2005
Jordan Abel wrote:

> On 2005-12-29, Harsh_forC <> 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.

 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      12-29-2005
"Harsh_forC" <> 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) kst- <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.
 
Reply With Quote
 
Chuck F.
Guest
Posts: n/a
 
      12-29-2005
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/>
 
Reply With Quote
 
Rahul Chandok
Guest
Posts: n/a
 
      12-29-2005
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

 
Reply With Quote
 
Mike Wahler
Guest
Posts: n/a
 
      12-30-2005

"Harsh_forC" <> wrote in message
news: 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Reg Pro vs Tweak now Reg Cleaner vs Registry fix, vs RegCleaner jl Computer Support 3 05-31-2005 12:53 AM
Reg strip_tags function in Python. praba kar Python 1 05-07-2005 04:36 PM
Re: Reg strip_tags function in Python. Terry Hancock Python 0 05-07-2005 07:21 AM
Reg virtual function and friend function csudha C Programming 5 02-21-2005 04:59 AM
write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function parameter komal C++ 6 01-25-2005 11:13 AM



Advertisments