Here's the guidelines for minimums Oracle Doc - prerequisites

Specific amounts would depend on alot of stuff, like;

Your OS.
Your speed requirements
Your throughput requirements
etc.

If you're just testing simple functionality, maybe 750mb ram and 1 gig disk will get you started.