Sponsored Content
Operating Systems AIX AIX6: Getting Out of memory error during SFTP Post 302743009 by LuckySkunk on Wednesday 12th of December 2012 03:36:56 AM
Old 12-12-2012
AIX6: Getting Out of memory error during SFTP

Hi all the gurus out there, I am trying to SFTP about 30000 small files (4MB each at most) but I'm getting "xrealloc: out of memory" error. Anyone encountered this before? I'm on AIX6.
 

10 More Discussions You Might Find Interesting

1. AIX

SFTP to AIX6.1 EFS

Hello all, my first post so please be gentle! I have 2 x AIX 6.1.4.0 environments, one has EFS enabled and the other does not. I have installed SSH & SSL on both systems, and configured SFTP using SSL authentication between both boxes: openssh.base.client 5.2.0.5300 COMMITTED Open Secure... (3 Replies)
Discussion started by: PJMCK
3 Replies

2. AIX

Setup DNS server on AIX6.1

I'm planning of setting up a DNS server on AIX 6.1. Could someone shed me some lights on the step-by-steps of how to set this up? Thanks. (2 Replies)
Discussion started by: famasutika
2 Replies

3. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

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

4. UNIX for Dummies Questions & Answers

Permit sftp load /etc/profile on AIX6.1

Hi, I've set on /etc/profile: TMOUT=3600 readonly TMOUT It seems to work when I connect using ssh client, putty for example, but not when connect through sftp. What am I missing on sshd configuration? regards Israel. (2 Replies)
Discussion started by: iga3725
2 Replies

5. AIX

UnsatisfiedLinkError with Java1.6 in AIX6.1

Hi Folks, I'm facing the below error when loading my library on AIX6.1 java.lang.UnsatisfiedLinkError: marimba (A file or directory in the path name do es not exist.) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1013) at... (7 Replies)
Discussion started by: Bharath_M
7 Replies

6. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

7. AIX

Java7 installation for user in AIX6.1

Hello Team, We are trying to install Java7 for weblogic user in a particular location(not default /usr location). I have tried following method but no luck, Need your suggestion on this. Issue details : 1) smitty installp >> When trying this there is no option to relocate the... (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

8. AIX

NFS problem AIX6.1

Hello, I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3. The problem is that at some point the client server cannot connect to the NFS anymore and when i do df -k it displays the message NFS server <server> not responding still trying. i run the... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

9. AIX

How many Core in AIX6 & AIX7?

How many Core in AIX6 & AIX7 .. Please guys I want commands to know how many Core in these two different version please i need exact command ? (2 Replies)
Discussion started by: top.level
2 Replies

10. AIX

Upgrade AIX 5.3 to AIX6.1

Dear Guys .. I'm going to Upgrade one of the servers AIX 6.1 I want to stop rootvg mirror to save the mirror then upgrade to AIX 6.1 this is to help me in rollback if something goes wrong but .. can anyone help me how to make sure that system is relay mirrored and how to know that second... (10 Replies)
Discussion started by: top.level
10 Replies
XMALLOC(3pub)                                                  C Programmer's Manual                                                 XMALLOC(3pub)

NAME
xmalloc, xrealloc, xfree, xstrdup, xmemdup, memdup - memory allocation functions for Publib SYNOPSIS
#include <publib.h> void *xmalloc(size_t bytes); void *xrealloc(void *ptr, size_t bytes); void xfree(void *ptr); char *xstrdup(const char *string); void *memdup(const void *mem, size_t bytes); void *xmemdup(const void *mem, size_t bytes); DESCRIPTION
These functions are utility functions for memory allocation from the publib library. xmalloc, xrealloc, and xfree are error checking ver- sions of the standard library routines malloc, realloc, and free, respectively. They are guaranteed to never return unless there was no problem: if, for example, xmalloc is unable to allocate the requested amount of memory, it prints an error message and terminates the pro- gram. Hence, the caller does not need to check for a NULL return value, and the code that calls these functions is simpler due to the lack of error checks. Similarly, xstrdup is an error checking version of the common (though not standard) strdup routine, which creates a duplicate of a string by allocating memory for the copy with malloc. (For systems that lack strdup, publib provides one in its portability module; it is always declared in <publib.h>.) memdup is similar to strdup, it creates a copy of an arbitrary memory area (the arguments are a pointer to the beginning of the area, and its size) by allocating memory for the copy with malloc. xmemdup is its error checking version. NOTE
xmalloc and xrealloc treat a request to allocate a block of 0 bytes as an error. xrealloc will allow its first argument to be NULL. SEE ALSO
publib(3), malloc(3), strdup(3) AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi) Publib C Programmer's Manual XMALLOC(3pub)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy