[Scilab-users] Problems using save

Matiasb matiasb at gmail.com
Wed Oct 22 11:22:25 CEST 2014


Thanks Ezequiel! Samuel, you were totally right, so many thanks ;-)

Upgrading to 5.5.2  it solved the graphical window and it now allows me to
save matrices in the files.
Saving work relatively fast and loading afterwards takes quite long (the
saved file that is produced is aprox 50MB), but it doesn't seem to be
leaking memory any more.

Thanks again!
Matias

On Tue, Oct 21, 2014 at 9:45 PM, Samuel GOUGEON [via Scilab / Xcos -
Mailing Lists Archives] <ml-node+s994242n4031413h26 at n3.nabble.com> wrote:

> Hello,
>
> Le 21/10/2014 18:24, Matiasb a écrit :
>
> > Hi,
> >
> > After executing a script that creates a lot of variables and big
> matrices,
> > I'm trying to make a backup of what it created. A good option would be
> to
> > save all variables to a file, as the  save
> > <https://help.scilab.org/docs/5.4.1/en_US/save.html>   function allows
> when
> > a list of variables is not specified.
> > Something like: save('backup.dat')
> >
> > But when I use this function I found 2 problems:
> >      1) Very strangely, it opens a graph window with some plots.
> Screenshot:
> > Selection_420.png
> > <http://mailinglists.scilab.org/file/n4031410/Selection_420.png>
> >      2) when there are a lot of variables it takes veeery long, the
> scilab
> > process uses 2GB of mem. If there are big matrices the scilab process
> hangs
> > completely.
> >
> > *For 1)* I tried to track it and I could reproduce with a simple
> example:
> > the problem occurs when I define a function that uses some graph
> function.
> > For example, creating a test.sce file with the following function:
> > // test.sce
> > function []=MyTest()
> >      xtitle("Testing save");
> > endfunction
> >
> > Then in the console:
> >    clear; // just to start from scratch
> This leads lower than scratch, rather to ground.
> >    exec('test.sce', -1);
> >    save('backup.dat'); // this opens the graph window!
> Which Scilab version are you using? If < 5.5.0, i guess that this is due
> to this bug:
> http://bugzilla.scilab.org/show_bug.cgi?id=10243, that was fixed in
> november 2013.
> In this case, upgrading your Scilab should fix the case you met.
>
> > .../...
> > Is there a way for me to store all this created variables in a file
> without
> > these problems?
> > Maybe solving 1) will fix it.
> Indeed, may be. Many memory leaks were fixed between Scilab 5.4.1 & 5.5.0
> >
> > PD: I'm using scilab 5.4.1 in Linux.
> Aa! So: upgrade to 5.5.1!
>
> Regards
> Samuel
>
> _______________________________________________
> users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4031413&i=0>
> http://lists.scilab.org/mailman/listinfo/users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://mailinglists.scilab.org/Problems-using-save-tp4031410p4031413.html
>  To unsubscribe from Problems using save, click here
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4031410&code=bWF0aWFzYkBnbWFpbC5jb218NDAzMTQxMHwtNTQ0MzM3NTk2>
> .
> NAML
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://mailinglists.scilab.org/Problems-using-save-tp4031410p4031417.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20141022/8bf3e236/attachment.htm>


More information about the users mailing list