2

I want to use a memory allocator in multithreading enviroment and each thread eats a lot of memory. Which should I choose? Is there any performance between these allocators? Thanks.

Treper
  • 3,539
  • 2
  • 26
  • 48

1 Answers1

0

'I want to use a memory allocator in multithreading enviroment and each thread eats a lot of memory.' - why? What for?

'Which should I choose?' - two possibilities:

1) Profile/analyze your application and match the memory requirement charateristics again the specs for each of the allocators.

2) Test you app with each allocator to find out empirically which matches your application best.

'Is there any performance between these allocators?' - I guess you mean 'performance difference'. I'm almost 100% sure that there is a difference, yes.

Martin James
  • 24,453
  • 3
  • 36
  • 60