<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">Sorry I meant to say that the memory IS the problem!!</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 10 Jan 2020 07:58, peter@cornelissen.org.uk wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">Hi guy
<div dir="auto"><br>
</div>
<div dir="auto">Thanks for the feedback. I've checked and as my PC slows down it reaches the point where QGIS is using 79% of the memory, so there's no problem. Unfortunately there's not much I can do about it as it is a laptop and is already at its maximum
 of 8GB and is using 1.8GB for the video. I'll rebuild using Geo Packages as that seems like the way forward. I can't really make use of PostGIS as I need to port to QField.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Peter</div>
</div>
<div><br>
<div class="elided-text">On 9 Jan 2020 23:54, Nicolas Cadieux <nicolas.cadieux@archeotec.ca> wrote:<br type="attribution">
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">Hi,
<div><br>
<div>You are likely running out of memory.  Do a control-alt-delete and look at the memory usage.  Look at the memory, disk and cpu usage before starting QGIS and once the project is loaded and working.  Turn off unwanted plugins.  Make sure you don’t have
 a virus or some background process using your cpus. You should probably have 8 to 16 GB of memory.  Is this a laptop?  Is the laptop sharing the video memory with the system memory?<br>
<br>
<div dir="ltr">Nicolas Cadieux</div>
<div dir="ltr"><br>
<blockquote>Le 9 janv. 2020 à 18:21, Alexandre Neto <senhor.neto@gmail.com> a écrit :<br>
<br>
</blockquote>
</div>
<blockquote>
<div dir="ltr">
<div dir="auto">
<div dir="auto">Hi Peter,</div>
<div dir="auto"><br>
</div>
Try to use Spatialite, Geopackage or (even better) PostGIS to store your data and create indexes both on the geometries, but also on the fields used on the rules you mentioned. That can give you a nice boost.
<div dir="auto"><br>
</div>
<div dir="auto">Hope it helps,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Alexandre Neto</div>
<div dir="auto">QGIS Support</div>
<div dir="auto"><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsmex-ctp.trendmicro.com%3A443%2Fwis%2Fclicktime%2Fv1%2Fquery%3Furl%3Dhttp%253a%252f%252fwww.QCooperative.net%26umid%3D78acbac1-d0a0-4165-8391-f7bc9498c22c%26auth%3Dbf81fa88bf46c441e3fa0c29e31e35617988196f-aeddc0339af5f50edc3ba0398521cba4a48bd09f&data=02%7C01%7C%7C361a1324c82b4e45bea608d7955f5e75%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637142109151053426&sdata=xFB6Zc%2BZL7ywqFovKwvgudiTRRy9lOMSL72UG0EKL38%3D&reserved=0">www.QCooperative.net</a></div>
</div>
<br>
<div class="elided-text">
<div dir="ltr">A quinta, 9/01/2020, 20:42, Peter Cornelissen <<a href="mailto:peter@cornelissen.org.uk">peter@cornelissen.org.uk</a>> escreveu:<br>
</div>
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
Hi</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
<br>
</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
I am finding that although my ShapeFIle tables in QGIS are not huge, my Windows 10 PC virtually comes to a grinding halt and becomes unusable once I get to something like 50 layers. I am using about 6 or 7 ShapeFiles with different filters. I think it is related
 to the fact that approx. most of them having a rule based styles, some with about 20 rules per layer.</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
<br>
</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
Restarting the PC sorts things out for a while, but soon as I start working on the project it quickly gets slower and again comes to a point where it again slows right down.</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
<br>
</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
I've not seen anything relate to this issue online and I've seen tables which must be huge. Is it likely to be my PC or am I using the wrong methods? Would I be better using SpatiaLite to store the tables?</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
<br>
</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
Thought?</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
<br>
</div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'arial' , 'helvetica' , sans-serif;font-size:12pt;background-color:rgb( 255 , 255 , 255 )">
Peter</div>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=02%7C01%7C%7C361a1324c82b4e45bea608d7955f5e75%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637142109151063436&sdata=AJzHZsCOaILB6swcdZVR%2Bwg6tqR5H1l6zfFOvI5uxZI%3D&reserved=0">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=02%7C01%7C%7C361a1324c82b4e45bea608d7955f5e75%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637142109151063436&sdata=AJzHZsCOaILB6swcdZVR%2Bwg6tqR5H1l6zfFOvI5uxZI%3D&reserved=0">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
Qgis-user@lists.osgeo.org<br>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>