I'm trying to export some PostGIS layers but getting these two errors when using the qgis2web plugin, seems to be memory related but is too many layers or too large an extent or something else? Also the plugin takes about 5 minutes to open:-
Traceback (most recent call last): File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\maindialog.py", line 101, in previewMap MainDialog.previewOL3(self) File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\maindialog.py", line 234, in previewOL3 previewFile = writeOL(self.iface, layers, groups, popup, visible, json, cluster, labels, params, utils.tempFolder()) File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\olwriter.py", line 53, in writeOL exportLayers(layers, folder, precision, optimize, usedFields) File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\utils.py", line 92, in exportLayers lines = f.readlines() MemoryError
and this error:-
MemoryError Traceback (most recent call last): File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\maindialog.py", line 111, in saveMap MainDialog.saveLeaf(self) File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\maindialog.py", line 257, in saveLeaf outputFile = writeLeaflet(self.iface, folder, 600, 400, 1, layers, visible, "", cluster, "", "", "", labels, 0, 0, json, params, popup) File "C:/Users/xxxxx.xxxxxx/.qgis2/python/plugins\qgis2web\leafletWriter.py", line 89, in writeLeaflet lines = f.readlines() MemoryError