Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?
xwb (Programmer)
14 Oct 10 1:44
I have a program which uses shared memory in windows.  When the program crashes, how do I find out whether the shared memory is still allocated?  

On Linux, ipcs -m will show what is allocated and ipcrm will clear it.  How do I do this on XP?  Anything would be great, even if it is buried in some rarely used menu option in a rarely used Visual Studio utility.
BadBigBen (MIS)
14 Oct 10 8:16
In Windows there is no support for shared memory sections without a process holding a handle to them. afaik...

So there is no direct equivalent to ipcs -m.

 

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

xwb (Programmer)
14 Oct 10 14:26
So if all the processes using the same area of shared memory die, then that area is automatically freed?
flyboytim (Programmer)
14 Oct 10 16:19
VMMap by Sysinternals may be of use, perhaps?

http://technet.microsoft.com/en-us/sysinternals/dd535533.aspx
xwb (Programmer)
15 Oct 10 10:19
Looks like it might do the job - I'll check it out this evening.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close