如何修复我的C应用程序内存的大小?

问题描述:

我想分配一个固定的内存我的应用程序(用C开发)。说我的应用程序不应该越过内存占用64MB的。 ,也是我应避免使用更多的CPU使用率。它是如何可能的?

I would like to allocate a fixed memory for my application (developed using C). Say my application should not cross 64MB of memory occupation. And also i should avoid to use more CPU usage. How it is possible?

问候
马塞尔。

Regards Marcel.

在UNIX:的ulimit -d 64M

Under unix: "ulimit -d 64M"