Closed camlistorebot closed 7 years ago
I ran across something similar a while ago, possibly the same problem. I guess that this information is better than none, even if may not be entirely accurate. After some testing I found that the import mostly went fine, but the memory consumption increased when certain files were imported. If i remember correctly, i got the same surge in memory usage even if i just imported one of the problematic files alone, so the problem didn't seem to be related to importing large amounts of files at once. I could easily import many files, as long as none of the problematic ones were included. My conclusion (by comparing good and bad files) was that the problem may have been directly related to malformed EXIF-data. I think those were produced by a Again, this is just from memory. I don't have access to the files right now, but I'll try to re-create the problem, and update the issue when I have more information.
I ran across something similar a while ago, possibly the same problem. I guess that this information is better than none, even if may not be entirely accurate. After some testing I found that the import mostly went fine, but the memory consumption increased when certain files were imported. If i remember correctly, i got the same surge in memory usage even if i just imported one of the problematic files alone, so the problem didn't seem to be related to importing large amounts of files at once. I could easily import many files, as long as none of the problematic ones were included. My conclusion (by comparing good and bad files) was that the problem may have been directly related to malformed EXIF-data. I think at least some of the files were produced by the built in camera app on an HTC Desire S. Again, this is just from memory. I don't have access to the files right now, but I'll try to re-create the problem, and update the issue when I have more information.
I also encountered this issue. Looks like rwcarlsen/goexif/issues/20 and rwcarlsen/goexif/issues/30
This is fixed by https://github.com/rwcarlsen/goexif/commit/41dad3aa083329f3f672b7095a9ea8a0c384bbe8
Applying that to camlistore.org/third_party/github.com/rwcarlsen/goexif fixes issue for me.
@hullerob thanks for the tip!
fixed by 6c2c5811794237d5be32236c5c8ff9c652a39c8d
by wabarry:
Attachments: