PureBasic DLL using mega memory

Blitz3D Forums/Blitz3D Programming/PureBasic DLL using mega memory

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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

If the text is all numbrs can't you use STR??? Exaample code please :)