473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

reg 'System' function

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
7 1739
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
"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
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
"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
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
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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: monkey king | last post by:
I have a given dll file(PDFCreator.dll) - probably generated by VC++. I want to use its method(PDFCreator()) in dotNet environment. It works well in WindiowsApplication, but bad in WebApplication...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
36
by: AussieRules | last post by:
Hi, I want to use the user color scheme to set the color of my forms. I now I have to use the. System.Drawing.SystemColors, but which color is the color of a form background as used in other...
5
by: Lance | last post by:
I want to expose properties of a class to a user via a PropertyGrid class. Some of the properties are of type System.IO.FileInfo. Ideally, an OpenFileDialog window would appear when the user...
6
by: Arthur Dent | last post by:
How do you sort a generic collection derived from System.Collections.ObjectModel.Collection? Thanks in advance, - Arthur Dent
14
by: prasadjoshi124 | last post by:
Hi All, I am writing a small tool which is supposed to fill the filesystem to a specified percent. For, that I need to read how much the file system is full in percent, like the output given...
9
by: Xah Lee | last post by:
REQUIREMENTS FOR A VISUALIZATION SOFTWARE SYSTEM FOR 2010 Xah Lee, 2007-03-16 In this essay, i give a list of requirements that i think is necessary for a software system for creating...
22
by: schneider | last post by:
I need to hook the system mouse down event. I'm trying to replicate how a context menu hides when the mouse clicks outside of the control. Thanks, Schneider
7
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am using this code to get groups for a user and getting a error (5) on the GetAuthorizationGroups() function . There are two domains. This function works on the local domain but does not work...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.