Sponsored Content
Full Discussion: memory limits
Top Forums UNIX for Dummies Questions & Answers memory limits Post 302597431 by thegeek on Friday 10th of February 2012 09:43:49 AM
Old 02-10-2012
diskquota's are for storage space - secondary memory ( normally hard disk ). not for memory !!
This User Gave Thanks to thegeek For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar--limits ????

Hi! All, This is True64 Unix, 4.0.F patch kit 4 I have a 15GB Oracle dump file that I have to backup to tape. I am trying to use "tar" to dump it to tape, but tar complained that the file was too big and that it was truncating it!. I am compressing the file using the "compress" utility.... (3 Replies)
Discussion started by: sdharmap
3 Replies

2. UNIX for Advanced & Expert Users

user access limits?

how do i limit access for users so that they can only login via FTP and can only view/make changes to their own directories only. (1 Reply)
Discussion started by: sphiengollie
1 Replies

3. UNIX for Advanced & Expert Users

.netrc limits in Aix 4.3

Does anyone know what the max char limit is for login in .netrc? Thanks, Jeff (0 Replies)
Discussion started by: lawadm1
0 Replies

4. Linux

limits.conf

Hello! How do make the limits.conf parameters work for a normal user. Ive changed both the hard and soft parameter for the specific user. It used to be 4096 and i changed it to 16384. But when i use the ulimit -n, all i got is permissen denied. Witch i can understand. But my question is? how... (1 Reply)
Discussion started by: dozy
1 Replies

5. UNIX for Dummies Questions & Answers

limits.conf

I have line in this file that says: username - maxlogins 1 and user can login 2 times instad of one. does enybody know why? and how can I fix that? (2 Replies)
Discussion started by: shooroop
2 Replies

6. Solaris

FTP limits - mput *

I am trying to upload via FTP 11,000 files in a Solaris 8 system. I am using Windows 2000 and its FTP client to upload the files. The command used is mput *.jpg.When the quantity of files reaches 10,000 the upload aborts. Is this problem related with the FTP client ? If yes, another FTP client... (2 Replies)
Discussion started by: waldecy
2 Replies

7. Programming

semaphore limits

Hi Could anybody tell me how can i see the semaphore limits on my system. I am using solaris 8. Thanks in advance (2 Replies)
Discussion started by: axes
2 Replies

8. UNIX Desktop Questions & Answers

File size limits

I want to increase the file size, I am trying to store the output but it's not storing the whole output in to the file (7 Replies)
Discussion started by: navintsm
7 Replies

9. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

10. Programming

Limits on 32 and 64 bit in C++ / C

Hi All, I am getting below run time error I checked the code and see the structure defined as below and using the file position variable typedef struct Get_file { char *current_pathname; unsigned int tot_bytes_io, physical_position; int... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
XtMalloc(3Xt)							     MIT X11R4							     XtMalloc(3Xt)

Name
       XtMalloc, XtCalloc, XtRealloc, XtFree, XtNew, XtNewString - memory management functions

Syntax
       char *XtMalloc(size);
	  Cardinal size;

       char *XtCalloc(num, size);
	  Cardinal num;
	  Cardinal size;

       char *XtRealloc(ptr, num);
	  char *ptr;
	  Cardinal num;

       void XtFree(ptr);
	  char *ptr;

       type *XtNew(type);
	  type;

       String XtNewString(string);
	  String string;

Arguments
       num	 Specifies the number of bytes or array elements.

       ptr	 Specifies a pointer to the old storage or to the block of storage that is to be freed.

       size	 Specifies the size of an array element (in bytes) or the number of bytes desired.

       string	 Specifies a previously declared string.

       type	 Specifies a previously declared data type.

Description
       The functions returns a pointer to a block of storage of at least the specified size bytes.  If there is insufficient memory to allocate
       the new block, calls

       The function allocates space for the specified number of array elements of the specified size and initializes the space to zero.  If there
       is insufficient memory to allocate the new block, calls

       The function changes the size of a block of storage (possibly moving it).  Then, it copies the old contents (or as much as will fit) into
       the new block and frees the old block.  If there is insufficient memory to allocate the new block, calls If ptr is NULL, allocates the new
       storage without copying the old contents; that is, it simply calls

       The function returns storage and allows it to be reused.  If ptr is NULL, returns immediately.

       returns a pointer to the allocated storage.  If there is insufficient memory to allocate the new block, calls is a convenience macro that
       calls with the following arguments specified:

       ((type *) XtMalloc((unsigned) sizeof(type))

       returns a pointer to the allocated storage.  If there is insufficient memory to allocate the new block, calls is a convenience macro that
       calls with the following arguments specified:

       (strcpy(XtMalloc((unsigned) strlen(str) + 1), str))

See Also
       X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

																     XtMalloc(3Xt)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy