Seems memory leakage while running adaptive pushover in Mac
Moderators: silvia, selimgunay, Moderators
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
Seems memory leakage while running adaptive pushover in Mac
Hi
While running a script for adaptive pushover in mac, it gives the following error after completion of few analysis steps. The same script runs well in Windows system.
The error msg
"couldn't open "OutputData/DAPout/sectionFiber/caseID201/Eigen2.wri": too many open files"
thanks
gopal
While running a script for adaptive pushover in mac, it gives the following error after completion of few analysis steps. The same script runs well in Windows system.
The error msg
"couldn't open "OutputData/DAPout/sectionFiber/caseID201/Eigen2.wri": too many open files"
thanks
gopal
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
Hi
I am running adaptive pushover analysis. In each pushover step, I perform Eigen Value Analysis. Store eigen vectors in text files and recall subsequently to compute pushover load vector for the next step. The error msg appeared while opening eigen vector file after certain pushover steps, e.g., after 19 pushover steps and 6 eigen vectors per step. The same script however works fine in windows.
couldn't open "OutputData/DAPout/sectionFiber/caseID201/Eigen2.wri": too many open files.
thanks
gopal
I am running adaptive pushover analysis. In each pushover step, I perform Eigen Value Analysis. Store eigen vectors in text files and recall subsequently to compute pushover load vector for the next step. The error msg appeared while opening eigen vector file after certain pushover steps, e.g., after 19 pushover steps and 6 eigen vectors per step. The same script however works fine in windows.
couldn't open "OutputData/DAPout/sectionFiber/caseID201/Eigen2.wri": too many open files.
thanks
gopal
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
windows, mac and linux machines all differ in the number of open files the operating system allows an application.
i need more info and i am probably going to need the model. before you send it or post it, how many recorder files do you have? and do you close your files after you have written to them.
i need more info and i am probably going to need the model. before you send it or post it, how many recorder files do you have? and do you close your files after you have written to them.
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
I close most of the files at the end of the script.
the eigen vectors are recorded at each step in a new file while the previous files are deleted. A sample portion is as follows
for {set j 1} {$j <= $numsMode} {incr j 1} {
remove recorder [lindex $eigRecorder [expr $j-1]];
set temp ""
set temp [lrange [gets [open "$DAPout/Eigen$j.wri" r]] 0 end]
process eigen vectors
file delete "$DAPout/Eigen$j.wri"
}
the eigen vectors are recorded at each step in a new file while the previous files are deleted. A sample portion is as follows
for {set j 1} {$j <= $numsMode} {incr j 1} {
remove recorder [lindex $eigRecorder [expr $j-1]];
set temp ""
set temp [lrange [gets [open "$DAPout/Eigen$j.wri" r]] 0 end]
process eigen vectors
file delete "$DAPout/Eigen$j.wri"
}
-
- Posts: 79
- Joined: Tue Nov 07, 2006 3:17 am
- Location: Jacobs
Re: Seems memory leakage while running adaptive pushover in
Can you share the command you used to close the files? I get the error you used to get: can not find channel named
-
- Posts: 16
- Joined: Tue Jul 18, 2017 8:30 pm
- Location: IIT Bombay
Re:
gopaladhikari wrote:
> I m getting this error when evoke close command.
>
> can not find channel named
> "OutputData/DAPout/sectionFiber/caseID201/Eigen1.wri"
> while executing
> "close "$DAPout/Eigen$j.wri""
HI MR. GOPALADHIKARI,
I AM FACING SIMILAR PROBLEM WHILE RUNNING MY CODE. THE ERROR I AM GETTING IS - can not find channel named "filea07128"
WHAT EXACTLY DID YOU DO TO SOLVE THE PROBLEM? CAN YOU HELP ME IN THIS REGARD?
THANK YOU.
REGARDS,
KAUSTAV SENGUPTA
> I m getting this error when evoke close command.
>
> can not find channel named
> "OutputData/DAPout/sectionFiber/caseID201/Eigen1.wri"
> while executing
> "close "$DAPout/Eigen$j.wri""
HI MR. GOPALADHIKARI,
I AM FACING SIMILAR PROBLEM WHILE RUNNING MY CODE. THE ERROR I AM GETTING IS - can not find channel named "filea07128"
WHAT EXACTLY DID YOU DO TO SOLVE THE PROBLEM? CAN YOU HELP ME IN THIS REGARD?
THANK YOU.
REGARDS,
KAUSTAV SENGUPTA