Skip to content

Commit 828110e

Browse files
committed
disable vips8 cache
caused occasional crash as the invalidate systems clashed
1 parent 77a66c7 commit 828110e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,11 @@ main( int argc, char *argv[] )
10941094
if( im_init_world( main_argv0 ) )
10951095
error_exit( "unable to start VIPS" );
10961096

1097+
/* The vips8 cache is no use to us. We have our own cache which is
1098+
* integrated with our invalidate system.
1099+
*/
1100+
vips_cache_set_max( 0 );
1101+
10971102
/* Init i18n ... get catalogues from $VIPSHOME/share/locale so we're
10981103
* relocatable.
10991104
*/

0 commit comments

Comments
 (0)