1

Can big strings (85kb+) cause large object heap fragmentation like large arrays?

Gabe
  • 84,912
  • 12
  • 139
  • 238
dr. evil
  • 26,944
  • 33
  • 131
  • 201

1 Answers1

0

I can probably safely assume these are not literals: yes, they are stored in the LOH. .NET 4.0 introduced ropes for StringBuilder, specifically designed to keep short-lived builder buffers out of the LOH.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536