Application-specific software defined memory