It is important that Jonas keeps the memories in the Giver because there are harsh memories. The community can not think of any grieve or badness. It is important that only Jonas has emotions, and can see color. He got the duty to keep the memories.
Hope this helps!