[Scilab-users] 2019.11.24 - Strange Bug open file Windows

classic Classic list List threaded Threaded
3 messages Options
Pierre PERRICHON Pierre PERRICHON
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] 2019.11.24 - Strange Bug open file Windows

Dear,

I am writing a big  project  for hydraulic water consideration using scilab/xcos w10 v 5.5.2

 

In one corner of the project, I propose to load parameters coming from expertise, with the instruction

 

               ParFile = uigetfile(["*.par"],directory, "Load OpstSim : Chargement d''un fichier de paramétrisation", %f);

               if ParFile=="" then return; end;

 

From time to time, Scilab is killed (one over 100). I also mean that this is not possible to stop Scilab with the windo manager (top of this system). The only way to escape is to turn off the pc battery of the pc (power down… !)

.

Any explainations ? I don’t see what i have to do but i take all solutions to go on. I am sad on this  and desapointed. I don’t see what to do

 

 

 

 

Best regards

 

 


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Chin Luh Tan Chin Luh Tan
Reply | Threaded
Open this post in threaded view
|

Re: 2019.11.24 - Strange Bug open file Windows

Hi, 

I am not sure how big the data you're trying to import into Scilab, it sould to me that this "one over 100" case might be something to do with memory management.

A few thing you could trouble shoot:
1. Is there any loop, or repeated tasks that import the data into Scilab. 
2. Use the task manager and see whether the Scilab memory increase overtime during the execution of your program.
3. You might need to clear some huge variable (even thinking it might be reuse, try to clear it if it is no longer needed over that period of time)
4. Monitor the memory again after implementing the "clear" at step 3.

hope this helps.

rgds,
CL 


---- On Sun, 24 Nov 2019 23:35:40 +0800 Perrichon <[hidden email]> wrote ----

Dear,

I am writing a big  project  for hydraulic water consideration using scilab/xcos w10 v 5.5.2

 

In one corner of the project, I propose to load parameters coming from expertise, with the instruction

 

               ParFile = uigetfile(["*.par"],directory, "Load OpstSim : Chargement d''un fichier de paramétrisation", %f);

               if ParFile=="" then return; end;

 

From time to time, Scilab is killed (one over 100). I also mean that this is not possible to stop Scilab with the windo manager (top of this system). The only way to escape is to turn off the pc battery of the pc (power down… !)

.

Any explainations ? I don’t see what i have to do but i take all solutions to go on. I am sad on this  and desapointed. I don’t see what to do

 


 

 

 

Best regards

 

 

_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Chin Luh Tan Chin Luh Tan
Reply | Threaded
Open this post in threaded view
|

Re: 2019.11.24 - Strange Bug open file Windows

oh yes, since you are using Scilab 5.5.2, while checking on the below suggestion, you might want to look into increasing the stacksize? 

rgds,
CL


---- On Tue, 26 Nov 2019 10:50:41 +0800 Chin Luh Tan <[hidden email]> wrote ----

Hi, 

I am not sure how big the data you're trying to import into Scilab, it sould to me that this "one over 100" case might be something to do with memory management.

A few thing you could trouble shoot:
1. Is there any loop, or repeated tasks that import the data into Scilab. 
2. Use the task manager and see whether the Scilab memory increase overtime during the execution of your program.
3. You might need to clear some huge variable (even thinking it might be reuse, try to clear it if it is no longer needed over that period of time)
4. Monitor the memory again after implementing the "clear" at step 3.

hope this helps.

rgds,
CL 


---- On Sun, 24 Nov 2019 23:35:40 +0800 Perrichon <[hidden email]> wrote ----

Dear,

I am writing a big  project  for hydraulic water consideration using scilab/xcos w10 v 5.5.2

 

In one corner of the project, I propose to load parameters coming from expertise, with the instruction

 

               ParFile = uigetfile(["*.par"],directory, "Load OpstSim : Chargement d''un fichier de paramétrisation", %f);

               if ParFile=="" then return; end;

 

From time to time, Scilab is killed (one over 100). I also mean that this is not possible to stop Scilab with the windo manager (top of this system). The only way to escape is to turn off the pc battery of the pc (power down… !)

.

Any explainations ? I don’t see what i have to do but i take all solutions to go on. I am sad on this  and desapointed. I don’t see what to do

 


 

 

 

Best regards

 

 

_______________________________________________
users mailing list





_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users