Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set the Heap size to any application using C

Status
Not open for further replies.

SoujanyaR

Programmer
Feb 1, 2006
8
0
0
IN
Hi all,

I have a kinda difficult problem. I want to set the heap size ( for example: Xmx128m type of thing) for a particular application using C. Is that possible?

Also, I would be very greatful if any one could provide me code snippet to acheive the above functionality.

Guys, how do I call/ execute a .BAT file from C?? ( code please..... )

help me please....

Thanks in advance.. :)

Soujanya
 
> Is that possible?
1. It depends on your OS/Compiler.
2. Probably not.

> Guys, how do I call/ execute a .BAT file from C?? ( code please..... )
As in say
[tt]system("myfile.bat");[/tt]

--
 
I am using windows XP. Is that possible with any OS at all?

Thanks :)

Soujanya.R
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top