Subject RE: [firebird-support] Pushing Firebird 2.1 over the edge.
Author Calin Pirtea
Hehe...

Thanks, Vlad.

I guess this answers Helen's question as well: "FMI, does Windows ever report stack memory usage per thread? If so, where can it be viewed?"
Use Sysinternal's Process Explorer.

Incidentally I have PE and I'm not using it... hmmm... I think I should get it installed ;).

Cheers,

Calin Pirtea

From: Of Vlad Khorsun
 
> Hi Vlad,
>
> I promise you I _am_ looking at the VMSize. Using any windows I have access=
> to, the VMSize does not report stack used by Threads. I have a simply app =
> using 800 threads and memory usage, _any_memory_usage_, is under 20Mb.

Hmm, you are (almost) correct. Of course there is no way to ignore thread's
stacks when counting VM size ;) I just compared what task manager show in its
"VM size" column with SysInternals's Process Explorer (wich i used for a long
time instead of TM). PE show VM size correctly and what TM name as "VM size"
is a "Private memory" by PE.

So, you are correct that TM show VM size wrongly. But i was correct also
when i said that you saw not a VM size ;) And of course reason of "unable to
allocate memory from operating system" error message was out of virtual
address space.

Regards,
Vlad