<div dir="ltr"><div><div>Hello everyone,<br><br></div><div>I have a question about pgr_createTopology...<br></div><div><br></div>I am attempting to make a routable US street network table using pgRouting (pgRouting ver 2.0.0, postGIS 2.1.1, postgresql 9.2).<br></div><div>It is running on localhost (32 bit windows, 4 gb RAM).<br><br></div><div>I have a postgres table created originally from street shapefiles that now has about 43 million rows.<br></div><div><br></div><div>As I expected, the create topology function faced an out of memory error about halfway through the creation, and gave me this message:<br><br></div><div>My original statement:<br><br>SELECT pgr_createTopology('usa_streets', 0.00001, 'geom', 'gid');<br><br></div><div>Result:<br></div><div><br>NOTICE:  out of memory<br>NOTICE:  UPDATE public.usa_streets SET source = 22148149,target = 22152619 WHERE gid =  9166028<br>Total query runtime: 96149189 ms.<br>1 row retrieved.<br><br></div><div>The resulting vertices_pgr table has only about 22 million rows and I get errors for null sources when trying to run routing functions.<br><br></div><div>Would it be possible to run another Create Topology for rows in the original edges table where source and target are null, or will this just create two conflicting networks?<br></div><div><br></div><div>I am curious if anyone here is familiar or experienced with a workaround for this problem? Or is the only solution more RAM? If I'm leaving out any relevant information please let me know.<br><br></div><div>Thank you for reading,<br></div><div>John Zabrenski<br></div><div><br></div><div><br></div></div>