Closed Thaddeus-Maximus closed 6 years ago
cant reproduce that, but it consistently fails on this, now:
2018-07-16 20:46:13,503 | ERROR : Traceback (most recent call last):
File "c:/wamp/www/RoseLap/py/RoseLapCore/webrunner.py", line 76, in
Fixing this on branch fix_memory_leak. How? great question, right? I think we need to discard output matrices as soon as we're done with them. don't leave them around.
nope, there's something more fucked up going on than just keeping output matrices around
2018-07-16 20:31:54,520 | ERROR : Traceback (most recent call last): File "c:/wamp/www/RoseLap/py/RoseLapCore/webrunner.py", line 76, in
results = batcher.batch(tests, vehicle, tracks, model, out[1] != 0)
File "c:\wamp\www\RoseLap\py\RoseLapCore\batcher.py", line 21, in batch
batch["track_data"] = batch_run(flatTargets, permutations, batch["test_vals"], vehicle, tracks, model, include_output)
File "c:\wamp\www\RoseLap\py\RoseLapCore\batcher.py", line 173, in batch_run
segments = track_segmentation.file_to_segments(fn, dl, opts=opts)
File "c:\wamp\www\RoseLap\py\RoseLapCore\input_processing\track_segmentation.py", line 388, in file_to_segments
pts,sectors = points_in_each_seg_slow(testpath, dl, plot, opts)
File "c:\wamp\www\RoseLap\py\RoseLapCore\input_processing\track_segmentation.py", line 174, in points_in_each_seg_slow
spl = UnivariateSpline(l, k, k=smoothing_dof)
File "C:\Python27\lib\site-packages\scipy\interpolate\fitpack2.py", line 185, in init
xb=bbox[0],xe=bbox[1],s=s)
MemoryError
Traceback (most recent call last):
File "c:/wamp/www/RoseLap/py/RoseLapCore/webrunner.py", line 76, in
results = batcher.batch(tests, vehicle, tracks, model, out[1] != 0)
File "c:\wamp\www\RoseLap\py\RoseLapCore\batcher.py", line 21, in batch
batch["track_data"] = batch_run(flatTargets, permutations, batch["test_vals"], vehicle, tracks, model, include_output)
File "c:\wamp\www\RoseLap\py\RoseLapCore\batcher.py", line 173, in batch_run
segments = track_segmentation.file_to_segments(fn, dl, opts=opts)
File "c:\wamp\www\RoseLap\py\RoseLapCore\input_processing\track_segmentation.py", line 388, in file_to_segments
pts,sectors = points_in_each_seg_slow(testpath, dl, plot, opts)
File "c:\wamp\www\RoseLap\py\RoseLapCore\input_processing\track_segmentation.py", line 174, in points_in_each_seg_slow
spl = UnivariateSpline(l, k, k=smoothing_dof)
File "C:\Python27\lib\site-packages\scipy\interpolate\fitpack2.py", line 185, in init
xb=bbox[0],xe=bbox[1],s=s)
MemoryError