![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamic memory allocation | naan | High Level Programming | 11 | 09-03-2008 02:49 PM |
| HP-UX memory usage allocation | dehuang83 | HP-UX | 3 | 06-02-2007 04:40 AM |
| reduce buffer cache allocation? | dehuang83 | UNIX for Dummies Questions & Answers | 1 | 05-03-2007 06:26 AM |
| HP-UX memory usage allocation | dehuang83 | UNIX for Dummies Questions & Answers | 1 | 05-03-2007 02:40 AM |
| memory allocation | sagar | UNIX for Dummies Questions & Answers | 1 | 01-05-2002 11:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Buffer size/memory allocation for shell scripts
Hello,
I have a small problem some large shell scripts. My scripts do lot of text manipulation with large files. But at some point they stuck. The variables in the script lose their value, it becomes null. I guess this is because of lack of memory. What could be the other reason of variables losing its value? How can I allocate more ram to shell scripts in linux, or increase the buffer size? Thanks |
|
||||
|
I'm sorry, but your diagnosis doesn't sound plausible to me. Do you get any error message? The shell will simply allocate enough memory to hold the variables, and emit an error (and possibly even crash) if it cannot.
Can you prune down your script to a minimal example which exhibits this behavior? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|