{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/261","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/261/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/261/events","html_url":"https://github.com/jcupitt/libvips/issues/261","id":68032263,"number":261,"title":"Cache warning: linecache error reading tile","user":{"login":"h2non","id":63402,"avatar_url":"https://avatars.githubusercontent.com/u/63402?v=3","gravatar_id":"","url":"https://api.github.com/users/h2non","html_url":"https://github.com/h2non","followers_url":"https://api.github.com/users/h2non/followers","following_url":"https://api.github.com/users/h2non/following{/other_user}","gists_url":"https://api.github.com/users/h2non/gists{/gist_id}","starred_url":"https://api.github.com/users/h2non/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2non/subscriptions","organizations_url":"https://api.github.com/users/h2non/orgs","repos_url":"https://api.github.com/users/h2non/repos","events_url":"https://api.github.com/users/h2non/events{/privacy}","received_events_url":"https://api.github.com/users/h2non/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcupitt/libvips/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-04-13T07:45:05Z","updated_at":"2015-04-15T19:16:49Z","closed_at":null,"body":"I'm doing some performance tests and I'm stressing a HTTP service which uses libvips.\r\n\r\nAfter a lot of requests (> 1000) with high concurrency, I'm getting hundred of warnings in stdout:\r\n```bash\r\nvips warning: linecache: error reading tile 0x0: VipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\nVipsJpeg: out of order read at line 1080\r\n```\r\n\r\nI guess this could be a cache memory issue, since the resident memory of the main process is increasing more than 1GB (but this is probably due to Go don't hesitate in allocating a lot of memory).\r\nMy current cache limit is 100MB.\r\n\r\nAny idea about the scope of this issue? Thanks!"},"comment":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/comments/93536767","html_url":"https://github.com/jcupitt/libvips/issues/261#issuecomment-93536767","issue_url":"https://api.github.com/repos/jcupitt/libvips/issues/261","id":93536767,"user":{"login":"h2non","id":63402,"avatar_url":"https://avatars.githubusercontent.com/u/63402?v=3","gravatar_id":"","url":"https://api.github.com/users/h2non","html_url":"https://github.com/h2non","followers_url":"https://api.github.com/users/h2non/followers","following_url":"https://api.github.com/users/h2non/following{/other_user}","gists_url":"https://api.github.com/users/h2non/gists{/gist_id}","starred_url":"https://api.github.com/users/h2non/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2non/subscriptions","organizations_url":"https://api.github.com/users/h2non/orgs","repos_url":"https://api.github.com/users/h2non/repos","events_url":"https://api.github.com/users/h2non/events{/privacy}","received_events_url":"https://api.github.com/users/h2non/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T19:16:49Z","updated_at":"2015-04-15T19:16:49Z","body":"How much is required calling to `vips_thread_shutdown()`? Maybe the trouble could be around there, since I'm calling it after a set of image operations has been performed."}}