# JLD2 MethodError when dealing with large dictionaries?

**URL:** <https://discourse.julialang.org/t/jld2-methoderror-when-dealing-with-large-dictionaries/37234>\
**Category:** New to Julia\
**Tags:** jld2\
**Created:** [April 8, 2020, 5:06pm UTC](https://discourse.julialang.org/t/jld2-methoderror-when-dealing-with-large-dictionaries/37234 "2020-04-08T17:06:51Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cortner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cortner/32/204_2.png) [@cortner](https://discourse.julialang.org/u/cortner)\
**Post date:** [April 9, 2020, 8:00pm UTC](https://discourse.julialang.org/t/jld2-methoderror-when-dealing-with-large-dictionaries/37234/3 "2020-04-09T20:00:41Z")

</div>

I have not had positive experiences with JLD and JLD2; and would recommend using JSON and HDF5. I’ve “complained” about it here:

> [@Saving and Loading Custom Types](https://discourse.julialang.org/t/saving-and-loading-custom-types/17763):
>
> I’ve been having some difficulties storing custom data types, and would love to hear people’s suggestions and experiences. In the past I’ve always used JLD to convenient save / load custom types from disk. But recently I consistently had problems. About 95% of the time, my files would load ok, but 5% of the time (not randomly) they simply wouldn’t load even with the same version that I saved them with. Sometimes they would load on one machine but not on another. It is possible that this was a p…

(though I haven’t tried it again recently…)

---

_[View the full topic](https://discourse.julialang.org/t/jld2-methoderror-when-dealing-with-large-dictionaries/37234)._
