InMemory device also now respects the file limit