How to measure the ram occupation of an app?
In a post we discussed the need to use StringBuilder instead of the simple string concatenation to conserve the ram space used
The advice was correct from a theoretical point of view, and I think it is also correct from a practical point of view
But is there a way to measure the ram occupation of a running app?
Where by 'measuring' I mean precisely to the single occupied byte
In short, if I have an app that uses StringBuilder to join two strings and the same app that uses string concatenation with the symbol & (new_string = string1 & string2), how to measure the ram occupation of the first and second app ?
In a post we discussed the need to use StringBuilder instead of the simple string concatenation to conserve the ram space used
The advice was correct from a theoretical point of view, and I think it is also correct from a practical point of view
But is there a way to measure the ram occupation of a running app?
Where by 'measuring' I mean precisely to the single occupied byte
In short, if I have an app that uses StringBuilder to join two strings and the same app that uses string concatenation with the symbol & (new_string = string1 & string2), how to measure the ram occupation of the first and second app ?