you can get a crimminal record for possesing any amount of an illegal drug.
Sometime its up to the officer to use his/her discretion in regards to the reverity of the charges against the offender. However you should never just shrug it off because you only have one or two pills for example.