Orgainzation of vertices in GL engine

is it better to store all vertices in scene as one big vertex array locked once per rendering loop or locking and displaying some relatively small arrays per object’s part. I tried to lock one large array and got SegFault and don’t know if it’s worth late night dubugging. My maximum number of indices was 4096 and wan not exceeded.