Sponsored Content
Full Discussion: How to allocate memory
Top Forums UNIX for Advanced & Expert Users How to allocate memory Post 302223211 by ravi3553 on Friday 8th of August 2008 03:12:45 PM
Old 08-08-2008
I have compared the /proc/swaps, both systems have the same swaps too:

[root@dnpt015 proc]# cat swaps
Filename Type Size Used Priority
/dev/sda2 partition 2096472 0 -1


[root@dnpt017 bin]# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2 partition 2096472 0 -1
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Help - allocate more memory to /tmp

Hi Guys I using Solaris 8 and I need to change the size of my /tmp file. Was wondering does anyone know how to do this. Thanks Carson (1 Reply)
Discussion started by: cmackin
1 Replies

2. Programming

how allocate virtual memory

Hi Folks can any body suggest how to allocate virtual memory any function for that (2 Replies)
Discussion started by: munnu
2 Replies

3. UNIX for Advanced & Expert Users

unable to allocate enough memory

On SunOS 5.8 I get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap When stopping several other Java processes we can start this process. This seems to indicate that we don't have... (11 Replies)
Discussion started by: rein
11 Replies

4. UNIX for Advanced & Expert Users

Oracle how many memory allocate really

hi... i want to find oracle allocate how many memory really.. i execute this code to list memory on unix system : ps -eo pmem,args | sort -k 1 -r -n outputs ; %mem command 12.9|ora_smon_RTX 12.9|ora_s000_RTX 12.9|ora_reco_RTX 12.9|ora_qmnc_RTX... (2 Replies)
Discussion started by: utoptas
2 Replies

5. SuSE

shmget failed - cannot allocate memory

Hi, In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies

6. Linux

shmget failed - cannot allocate memory

Hi, In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies

7. Linux

shmget failed - cannot allocate memory

Hi, In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies

8. Programming

How to allocate memory to a string in C?

hi I want to take string as a input from user and the string is very very length. From the lengthy string i have to substring take first 16 letters, then next 8 letters,................... Please guide me how to write program to take lengthy string from user and sub string it. Thanks (4 Replies)
Discussion started by: atharalikhan
4 Replies

9. Solaris

unable to allocate enough memory

On SunOS 10 get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap i have 32G memory !! , swap = 31G Please any advice !!! (3 Replies)
Discussion started by: moata_u
3 Replies

10. Programming

calloc fails: 'Cannot allocate memory'

Hi , experts. I work on Linux station (RedHat 5.7), regular user, but have root password. %> uname -a Linux ran1log06 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux %> cat /etc/issue Red Hat Enterprise Linux Client release 5.7 (Tikanga) Kernel \r on... (5 Replies)
Discussion started by: baruchgu
5 Replies
PSMSHELL(1)							  ICI executables						       PSMSHELL(1)

NAME
psmshell - PSM memory management test shell SYNOPSIS
psmshell partition_size DESCRIPTION
psmshell allocates a region of partition_size bytes of system memory, places it under PSM management, and offers the user an interactive "shell" for testing various PSM management functions. psmshell prints a prompt string (": ") to stdout, accepts a command from stdin, executes the command (possibly printing a diagnostic message), then prints another prompt string and so on. The locations of objects allocated from the PSM-managed region of memory are referred to as "cells" in psmshell operations. That is, when an object is to be allocated, a cell number in the range 0-99 must be specified as the notional "handle" for that object, for use in future commands. The following commands are supported: h The help command. Causes psmshell to print a summary of available commands. Same effect as the ? command. ? Another help command. Causes psmshell to print a summary of available commands. Same effect as the h command. m cell_nbr size The malloc command. Allocates a large-pool object of the indicated size and associates that object with cell_nbr. z cell_nbr size The zalloc command. Allocates a small-pool object of the indicated size and associates that object with cell_nbr. p cell_nbr The print command. Prints the address (i.e., the offset within the managed block of memory) of the object associated with cell_nbr. f cell_nbr The free command. Frees the object associated with cell_nbr, returning the space formerly occupied by that object to the appropriate free block list. u The usage command. Prints a partition usage report, as per psm_report(3). q The quit command. Frees the allocated system memory in the managed block and terminates psmshell. EXIT STATUS
0 psmshell has terminated. FILES
No configuration files are needed. ENVIRONMENT
No environment variables apply. DIAGNOSTICS
IPC initialization failed. ION system error. Investigate, correct problem, and try again. psmshell: can't allocate space; quitting. Insufficient available system memory for selected partition size. psmshell: can't allocate test variables; quitting. Insufficient available system memory for selected partition size. BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu> SEE ALSO
psm(3) perl v5.14.2 2012-05-25 PSMSHELL(1)
All times are GMT -4. The time now is 10:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy