472,961 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 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 1720
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.