Depends on your strength, and on the strength of the opponents you expect to face.
For a 1500-rated player, there are many ways that you could spend your study time that would bring you more benefit... both immediately and in the future... than by studying opening lines.
Tactics (tactics! tactics!) would be number one on the list. Model mates. Endgames. Pawn structure. Opening principles (but not specific opening variations). Typical middle-game plans.
With thousands of various move combinations, is it really necessary to memorize chess openings up to, say, even 6 moves or can one play by his own logic?
And the bigger question: Do chess openings really matter? I mean, knowing the fundamentals and basics of openings (piece development, castling etc..) leads to playing some openings (Such as the italian game) quite intuitively. Maybe memorizing openings is a waste? And probably we should focus more on other aspects of the game?
I believe Magnus Carlsen is an example of my proposition. But then again, he's a genius. Can ordinary people like us survive without opening theory?