Re: Memory usage



> I can reproduce it almost without fail.  It has made f-spot unusable for me.
> 
> I've been able to import about 2000 images (of my 35,000).  When I start f-spot
> up, it's using about 600 megs.  When I start importing images (not moving them)
> from a directory of less than 100, memory usage goes to 1.5 gigs and stays there.
> 
> I've tried different folders, etc but it just keeps doing it.


Here's the crash (out of memory) I get when I run it from the command
line.

pen uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/Converted/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/Converted/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/Converted/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/Converted/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/Converted/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892-01.tif
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892-01.tif
System.OutOfMemoryException: Out of memory
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
  at FSpot.Tiff.DirectoryEntry.LoadExternal (System.IO.Stream stream)
[0x00000] 
  at FSpot.Tiff.ImageDirectory.LoadEntries (System.IO.Stream stream)
[0x00000] 
  at FSpot.Tiff.ImageDirectory.Load (System.IO.Stream stream) [0x00000] 
  at FSpot.Tiff.ImageDirectory..ctor (System.IO.Stream stream, UInt32
start_position, Endian endian) [0x00000] 
  at FSpot.Tiff.Header..ctor (System.IO.Stream stream) [0x00000] 
  at FSpot.Tiff.TiffFile..ctor (System.Uri uri) [0x00000] 
Could not import file
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892_2.jpg
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892_2.jpg
open uri =
file:///media/NTFS_Data/Images/2005/2005_01_02/processed/CRW_3892_2.jpg
old = "" new = "" heading = "ASCII"
value = 2005:01:02 10:40:56 len = 19
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Version> "3.2" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/RawFileName>
"CRW_3892.CRW" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/WhiteBalance> "As Shot" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Temperature> "6250" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Tint> "+18" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Exposure> "+0.65" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/AutoShadows> "True" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Shadows> "2" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/AutoBrightness> "True" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Brightness> "51" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Contrast> "+43" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Saturation> "+16" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/Sharpness> "25" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/LuminanceSmoothing> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ColorNoiseReduction> "25" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ChromaticAberrationR> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ChromaticAberrationB> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/VignetteAmount> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ShadowTint> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/RedHue> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/RedSaturation> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/GreenHue> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/GreenSaturation> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/BlueHue> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/BlueSaturation> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ToneCurveName> "Medium
Contrast" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "0,
0" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "32,
22" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> "64,
56" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> "128,
128" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_5> "192,
196" .
_:bnode706176768 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_6> "255,
255" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/ToneCurve>
_:bnode706176768 .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/CameraProfile> "ACR 2.4" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/HasSettings> "True" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/camera-raw-settings/1.0/HasCrop> "False" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ExifVersion> "0221" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ExposureTime> "1/80" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ShutterSpeedValue> "6321928/1000000" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/FNumber> "18/1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ApertureValue> "833985/100000" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ExposureProgram> "3" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/DateTimeOriginal>
"2005-01-02T10:40:56-08:00" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/DateTimeDigitized>
"2005-01-02T10:40:56-08:00" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ExposureBiasValue> "0/1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/MaxApertureValue> "4/1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/MeteringMode> "5" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/FocalLength> "35/1" .
_:bnode-1987332352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
_:bnode-1987332352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1>
"100" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ISOSpeedRatings> _:bnode-1987332352 .
_:bnode-484531200 <http://ns.adobe.com/exif/1.0/Fired> "False" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/Flash> _:bnode-484531200 .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/PixelXDimension> "3072" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/PixelYDimension> "2048" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/ColorSpace> "1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/NativeDigest>
"36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;3C25C403122CE8C3EFE4AE4BBEC72F9E" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/aux/SerialNumber> "0360010305" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/aux/Lens> "18.0-55.0 mm" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/aux/OwnerName> "Ray Hendricks" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/exif/1.0/aux/Firmware> "1.0.2" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/Make> "Canon" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/Model> "Canon EOS DIGITAL REBEL" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/Orientation> "1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/XResolution> "2400000/10000" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/YResolution> "2400000/10000" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/ResolutionUnit> "2" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/tiff/1.0/NativeDigest>
"256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;E4160A908235E6605A78F343008EFEB5" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/Rating> "0" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/ModifyDate> "2006-09-06T19:49:36-07:00" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/CreateDate> "2006-09-06T19:49:36-07:00" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/MetadataDate> "2006-09-06T19:49:36-07:00" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/CreatorTool> "Adobe Photoshop CS2
Windows" .
_:bnode1591204352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
_:bnode1591204352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "Ray
Hendricks" .
<http://fakebase.f-spot.org/internal/>
<http://purl.org/dc/elements/1.1/creator> _:bnode1591204352 .
<http://fakebase.f-spot.org/internal/>
<http://purl.org/dc/elements/1.1/format> "image/jpeg" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/mm/DocumentID>
"uuid:6B8596F0193EDB119AE5C1A4F94CDB6F" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/mm/InstanceID>
"uuid:6C8596F0193EDB119AE5C1A4F94CDB6F" .
_:bnode1804640512
<http://ns.adobe.com/xap/1.0/sType/ResourceRef#instanceID>
"uuid:6A8596F0193EDB119AE5C1A4F94CDB6F" .
_:bnode1804640512
<http://ns.adobe.com/xap/1.0/sType/ResourceRef#documentID>
"uuid:6A8596F0193EDB119AE5C1A4F94CDB6F" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/xap/1.0/mm/DerivedFrom> _:bnode1804640512 .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/photoshop/1.0/ColorMode> "3" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/photoshop/1.0/ICCProfile> "sRGB IEC61966-2.1" .
<http://fakebase.f-spot.org/internal/>
<http://ns.adobe.com/photoshop/1.0/History> "" .
value = f-spot version 0.3.5 len = 20
value = 2007:05:04 14:38:01 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:04 14:38:02 len = 19
Saved 5130 bytes
Stopping




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]