windbg - Failed to retrieve segments for gc heap RRS feed

  • Question

  • Hi, 

    I have a 32 bit managed windows service hosted on a 64 bit machine. 

    there is Outofmemory exception which i'm trying to analyse using windbg. 

    have loaded all the symbols(took those 3 sos, mscorwks and mscorordacwks_x86_x86_4.0.30319.1026.dll from server(renamed the dll as shown here)

    but everytie i try to get dump heap I get following error. can you please help me with this problem?

    Error requesting heap segment 0000000097dd0000
    Failed to retrieve segments for gc heap
    Unable to build snapshot of the garbage collector state

    memory dump was taken from default taskmgr. (i presume its 64bit)


    Peace, Kavya

    • Moved by Barry Wang Wednesday, December 16, 2015 9:59 AM
    Tuesday, December 15, 2015 4:57 PM


  • Thank you. I found the solution as following:

    problem first: system is 64bit. process is 32bit. the memory dump i took from task mgr was 64bit. when i used 32bit windbg, i got above error. so I grabbed the memory dump from 32bit taskmgr and I can now navigate through the problem areas. 

    Although, i'm struggling to get the string out as I get 

    <String is invalid or too large to print>

    Is this something you can please help me with? how do I output the string?

    Peace, Kavya

    This is "where is" forum for help on where best to ask questions. You'll need to re-ask over here.




    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Wednesday, December 16, 2015 2:47 PM

All replies