Fix type of sinh.

Found using random testing.
Limit memory in all sandboxes used by the TR random tester.