Managing memory usage & big sequences

new topic     » topic index » view thread      » older message » newer message

I'm working on an app that will be creating large sequences. By that I mean pushing the limits of memory in 32gb environment. What techniques can I use to test if I have enough memory to create the sequence that the user wants? I was thinking I could do an allocate(x) where x is an estimate of what the user will need and then free it right away - but then just doing the allocate may cause a crash if its too large? Any idea's on how I can monitor and ensure I do not exceed available ram would be appreciated. Thanks

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu