Remaining memory........
bitnerd
Posts: 9
in Propeller 1
Does any one know how to get the remaining memory available (in P1) for the main memory and each cog ??
Also, does any one know if there are any memory leaks when using the SimpleIDE/GCC compiler ??
Also, does any one know if there are any memory leaks when using the SimpleIDE/GCC compiler ??
Comments
I am not familiar with SimpleIDE or GCC so cannot help with P1 memory usage. Homespun and bst compilers have listing outputs so you can see what’s being used.
PropTool gives you hub usage. Spin programs use all the cog memory for the spin interpreter.
For pasm cogs, you can use the fit statement and adjust down until it fails but it’s a slow iterative process.
We need more info to help further.
SimpleIDE tells you your code size in bytes, in the bottom left corner of the program once you compile.
Subtract 32KB from your code size?
As far as memory leaks, I am not aware of any memory leaks in PropGCC's heap manager. Is that what you are asking about?