Multiplatform total ram string fix