Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

problem in attaching memory more then 256 thorugh shmat function

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> problem in attaching memory more then 256 thorugh shmat function Page: [1]
Login
Message << Older Topic   Newer Topic >>
problem in attaching memory more then 256 thorugh shmat... - May 15, '06, 10:05:24 AM   
shashwat.gupta

 

Posts: 11
Joined: May 9, '06,
Status: offline
HI there ,

I am using 512 RAM and P4 1.8 processor I have allocated 2000 MB as swap spcae . Thorugh Shmget function I tried to get shared memory. It works properly . But when I tried to attach it thorugh shmat the shmat function works well for memory upt0 1100*1024*1024 aftEr that it returns -1.

I am using shmat as
shmat(shmid,0,0)
shmid I got from shmget(key,Memory size in byte ,IPC_CREAT|0666)

I have one more confusion that If I try to attach different shared memory segment each time same addrss is returned Why it is so....

How could I make it work


any help would be appreciate
Post #: 1
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> problem in attaching memory more then 256 thorugh shmat function Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031