Check for system updates and do any that show.Ģ. If you're up to doing some trouble shooting and don't mind an very involved procedure, here's how I trouble shoot a Mac:ġ. I'm a Mac consultant and in my experience, although not with a D800, iPhoto should not be a problem for importing photos, I find it to be very efficient at storing, organizing and light editing of photos. Without another CF card to compare it with, it does leave me wondering whether there is something wrong with the card that I have. I only set the camera to use the CF card first as image transfer seemed fractionally faster than the SD cards but I think in future I will use the SD card slot as the main one. I only bought one CF card and have three virtually identical San Disk 32GB SD cards in addition. I had assumed that the actual storage capacity would be the same with each format. The strange thing about this CF card compared to its equivalent SD cards also by San Disk is that the CF card always seems able to take a lot more images on it, maybe 600 to 700, whereas the 32GB SD cards are usually about 400 raw images per card. The card was bought new when I got my D800 in May. Just wondering if the issue is software with iPhoto or some issue with the card itself. I force quit iPhoto once again and intend to have another try tonight, maybe importing in smaller sections according to what day the images were taken. Then I noticed that the icon showing the D800 card was no longer present on the left of the iPhoto screen and that the transfer had jammed again. I sat and watched it for a while and it seemed to be working okay until about 2/3 of the way through. Tried again last night, same as before the images were transferring taking about 8-10 seconds per raw image to transfer. I had to force quit iPhoto, which I normally use to import and sort out the ones that I want to keep from there. I've tried twice in the last few days to transfer images from a 32GB San Disk CF card even leaving the Mac on for twelve hours overnight and the transfer had failed when I checked in the morning. I can input images from SD cards straight through the side slot built into the Mac but for CF cards I use a separate card reader and this is where I am struggling.įirst thing, transferring images is very, very slow whether it is from SD or CF card. Please note the application is 32 bit and I would like not to use FileStream because, as I said, the generation is relatively fast, and if I use FileStream I will have to manage all the infrastructure to store and retrieve files, which in my opinion will be redundant, and may slow down the whole process too.I've got a few computers but the one that I use for working with D800 images is an iMac 27 inch screen about three years old with 4GB Ram. Is there any way I can bypass this limit, or maybe use another stream? Using (SqlDataReader reader = cmd.ExecuteReader())įirstName = reader.ToString(), Using (SqlCommand cmd = new SqlCommand(cmdQuery, connection)) Using (var connection = new SqlConnection("some connection string")) String cmdQuery = "select Id, FirstName, LastName from User" Method that returns Users from the database Add("Content-Disposition", $"attachment filename=Users.csv") When the size exceeds 2GB exception will be thrown here Using (var streamWriter = new StreamWriter(memoryStream)) Using (var memoryStream = new MemoryStream()) Public class DownloadService : IDownloadService This is a test code snippet I wrote to better illustrate the problem: //This is my WCF WebService Even though the generation of the csv file is pretty fast, its size can grow over 2GB, and when its size does grow over 2GB OutOfMemoryException is thrown because MemoryStream can not handle so much data. I have a web service for downloading csv files.Ĭsv files are formed on the go, i.e., some data is retrieved from the database row by row and converted in the runtime into csv, the csv then, is put into MemoryStream that is returned by the web service for downloading.
0 Comments
Leave a Reply. |