Subscribe to this thread
Home - General / All posts - Problem in saving file.
aforest97 post(s)
#06-Jan-15 08:32

Dear all

Trying to save a file which is about 500MB but keep on getting 'Can't write data to stream". My hardisk available space is about 271 GB and I am using 4Gb of ram. Can anyone tell me whats the problem? I have been reading up on the performance tip in manifold but nothing seems to help. Thanks.

rockland
97 post(s)
#06-Jan-15 10:42

I can't speak so much to the "Can't write data to stream" though I have received that error before. I would recommend, from a performance point of view, if you can, increase your ram to 16Gb ram, if you have 64 bit OS. If you can't find a way to save your map then you might open a new project and file, import, components, from the map project you can't save as a way to get the individual components from the un-save-able map as a way to reduce the chances of losing it all.

Gustavo Palminha

1,010 post(s)
#06-Jan-15 11:46

When this type of error happened to me it was useful to delete all imported images and then try to save the file again.

If that didn't help, deleting the raster linked components, sometimes worked.

I assume that you have space available where you are trying to save the file and your user temporary data folder.


Stay connected:

Linkedin >> http://www.linkedin.com/in/gustavopalminha

Twitter >> http://twitter.com/gustavopalminha

Other >> http://www.spatialmentor.com

adaptagis

633 post(s)
#06-Jan-15 15:48

Hi there

besides the mentioned tipps I recommend to save it under a new name in a new folder..

And make shure that you don't run any other things on your PC meanwhile.

another thing: using ccleaner (free download)

you can sweep the computer's waste and registry errors out so it can "breath" normaly again.. do this as well

on a regular base..

godd luck!

tjhb
10,094 post(s)
#07-Jan-15 01:07

For your specific error, "Can't write data to stream", I would suspect either a lack of space, or a lack of write permissions, on your user TEMP folder.

One reliable way of finding the folder is to open a command prompt and type SET TEMP. One way of checking permissions is to navigated to the given folder in Explorer, right click it and select Properties, then go to the Security tab, click the Edit button, and select Users in the list. Under Permissions for users, the Modify permission should show Allow.

As a test, if you create a new blank Manifold project, can you save that?

aforest97 post(s)
#07-Jan-15 02:27

Dear all

Thanks for all your suggestions. I managed to solve my problem. One of the components was corrupted. What i did was creating a new project and importing all the layers. I was able to narrow down to one component that gives me that error.

Cheers.

tjhb
10,094 post(s)
#07-Jan-15 02:38

Well done!

Listen, now might be a good time to thing about project versioning. Do you currently do it?

Have a look here or here for one precautionary practice. Data *does* become corrupted.

KlausDE

6,410 post(s)
#07-Jan-15 17:33

BTW has anybody created an add-in to unlink all linked drawings and tables, perhaps images after confirm, to capture a full version of data at a distinct state of a project in a more sophisticated environment?


Do you really want to ruin economy only to save the planet?

Gustavo Palminha

1,010 post(s)
#07-Jan-15 19:35

Not me.

Considering the times I found this issue, this add-in wouldn't work because the problem was usually related with storing images inside the map file and that end up eating all the memory.

This happen with workstations that didn't had too much available memory.


Stay connected:

Linkedin >> http://www.linkedin.com/in/gustavopalminha

Twitter >> http://twitter.com/gustavopalminha

Other >> http://www.spatialmentor.com

tjhb
10,094 post(s)
#07-Jan-15 19:47

I think Klaus is thinking of creating more sophisticated versioned backups, that is, with fixed snapshots taken for linked data. I don't think he is suggesting this as a cure for data corruption, but as a means of safeguarding good data (more thoroughly).

I haven't either though. I do have add-ins for exporting all drawings, all scripts, all queries, all images or all surfaces in one hit, either from a given project folder (if selected) or in the whole project.

KlausDE

6,410 post(s)
#08-Jan-15 20:48

Correct. My image backgrounds would blow up the project for sure and seldom change. That's why there should be a confirmation dialog.

I have my drawings in a postgis db and while projects move on from draft design to coordination data and the final version - of course with major diversification and sometimes a fallback to older solutions - I need to freeze the state of a project when certain milesones have been reached.

The easiest way to get there with all the thematic formating an layout is to unlink data and store this version while the db-version is ready for further development in a team. To have an add-in for this would spare some time looking for the linked data in usually more than 1000 components stored in folders and would make sure everybody uses the same schema for a meaningful filename of the backup version. You never can be sure everything is in place and another team member can relocate data if you rely on a manual process.


Do you really want to ruin economy only to save the planet?

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.