04-21-2009
Do you have a swap file created?
10 More Discussions You Might Find Interesting
1. Programming
For example if i have the piece of code as follows:
CountryName = (char *)malloc((strlen(CountryName)+1)*sizeof(char));
memset(CountryName, 0, strlen(CountryName)+1);
CountryName = SOME VALUE
Now how do i free the memory after use of this code???? :confused: (3 Replies)
Discussion started by: jazz
3 Replies
2. AIX
Hi,
how to find free memory in aix? for installing oracle,I have used svmon but not getting proper output (1 Reply)
Discussion started by: manoj.solaris
1 Replies
3. AIX
Hi,
I want to know how to find out free physical memory in aix, (11 Replies)
Discussion started by: manoj.solaris
11 Replies
4. Solaris
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies
5. Red Hat
hi, I have done the below, but am confused as to how much memory is "free"
please help
thanks
$ free
total used free shared buffers cached
Mem: 132033488 48827536 83205952 0 1007696 45404632
-/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies
6. UNIX for Advanced & Expert Users
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies
7. Programming
Hi guys.
I've a question, if we are using a syscall that receives a string allocated dynamicaly to a determined size, or NUL and it will allocate the apropriate size. We should free the memory or the OS will do it for us?
If a function returns a pointer we should free that poiter when we are done... (7 Replies)
Discussion started by: pharaoh
7 Replies
8. Solaris
Hi,
I am wondering if there is a way to free up memory in Solaris manually ? the way we can do it in Linux for example :
echo `/bin/date` "************* Memory Info Before *************"
free -m
sync
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 >... (13 Replies)
Discussion started by: terrykhatri531
13 Replies
9. Solaris
I have a Solaris 10 VM that processes are seg faulting on (no space) and swap goes from 64GB to 151MB which triggers the seg fault. The free memory is 25GB when this occurs. I have adjusted the project to use all available ram. My question is why is swap being filled with 25GB remaining?
the... (10 Replies)
Discussion started by: thefroggy
10 Replies
10. Solaris
If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals.
The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies
LEARN ABOUT SUSE
glib::flags
Glib::Flags(3) User Contributed Perl Documentation Glib::Flags(3)
NAME
Glib::Flags
DESCRIPTION
Glib maps flag and enum values to the nicknames strings provided by the underlying C libraries. Representing flags this way in Perl is an
interesting problem, which Glib solves by using some cool overloaded operators.
The functions described here actually do the work of those overloaded operators. See the description of the flags operators in the "This
Is Now That" section of Glib for more info.
HIERARCHY
Glib::Flags
METHODS
scalar = $class->new ($a)
o $a (scalar)
Create a new flags object with given bits. This is for use from a subclass, it's not possible to create a "Glib::Flags" object as such.
For example,
my $f1 = Glib::ParamFlags->new ('readable');
my $f2 = Glib::ParamFlags->new (['readable','writable']);
An object like this can then be used with the overloaded operators.
scalar = $a->all ($b, $swap)
o $b (scalar)
o $swap (scalar)
ref = $a->as_arrayref
integer = $a->bool ($b, $swap)
o $b (scalar)
o $swap (integer)
integer = $a->eq ($b, $swap)
o $b (scalar)
o $swap (integer)
integer = $a->ge ($b, $swap)
o $b (scalar)
o $swap (integer)
scalar = $a->intersect ($b, $swap)
o $b (scalar)
o $swap (scalar)
integer = $a->ne ($b, $swap)
o $b (scalar)
o $swap (integer)
scalar = $a->sub ($b, $swap)
o $b (scalar)
o $swap (scalar)
scalar = $a->union ($b, $swap)
o $b (scalar)
o $swap (scalar)
scalar = $a->xor ($b, $swap)
o $b (scalar)
o $swap (scalar)
SEE ALSO
Glib
COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team.
This software is licensed under the LGPL. See Glib for a full notice.
perl v5.12.1 2010-07-05 Glib::Flags(3)