Hey i guys stuck in this error, i really need help:
Error is: Too many open files.
for i in data_files[:8]:
try:
data_temp = np.load(i)
nat_queue += data_temp['nat_queue'].tolist()
temp_radius = data_temp['temp_radius'].tolist()
final_radius += data_temp['final_radius'].tolist()
del data_temp.f
data_temp.close()
os.unlink(os.path.join('/tmp/rad_data', i))
except:
pass
when i run this code RAM(System Memory) increases linearly and after a while i got too many open files. what should i do..??
any help or suggestion would be appreciated?
nat_queue,temp_radius,final_radius.. List take up a lot of space...