PureBasic DLL using mega memory

Blitz3D Forums/Blitz3D Programming/PureBasic DLL using mega memory

GeordieB(Posted 2004) [#1]
This may be a pure basic problem, not sure, but can anyone tell me if theres a reason and maybe a solution of why calling a PB function (using .decls) racks up major amounts of memory?

I am calling the function a LOT, but its a simple function that mearly strips out text from a string and passes this back, uses about 8 variables and is 30 lines long...

am i meant to free up the memory use or something after use each time or something?

Cheers


Rook Zimbabwe(Posted 2004) [#2]
If the text is all numbrs can't you use STR??? Exaample code please :)