Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C プログラムが使用するスペースを特定できますか? 現在、Windows XP で GCC コンパイラを使用しています。実際に、C プログラムが消費するスペースを確認したいと思います。
ある関数がCの他の関数によって消費されるサイズを教えてくれると非常に良い.
ex- fun() consume 1028 bytes to run.
ディスク上:確かに:コンパイル、作成、lsまたはdir。
ls
dir
メモリ内:いいえ。インターネットからメモリに何かをロードするプログラムを想像してみてください。メモリは動的に割り当てられ、データの大きさが事前にわからないため、メモリ使用量を知ることはできません(理論的には停止問題の結果です)。