Questions tagged [shrink]
249 questions
57
votes
16 answers
How do I shrink my SQL Server Database?
I have a Database nearly 1.9Gb Database in size, and MSDE2000 does not allow DBs that exceed 2.0Gb
I need to shrink this DB (and many others like this at various client locations).
I have found and deleted many 100's of 1000's of records which are…

Rory Becker
- 15,551
- 16
- 69
- 94
16
votes
3 answers
CSS: Max-Width won't shrink?
Possible Duplicate:
Make CSS Div Width Equal To Contents
I am trying to make a chat like application but now I ran acros a little bug of some sort.
I have a div with a max-width set to 350px. But when I put the following text in it:
dddddddddddd…

Dirk-Jan
- 1,109
- 10
- 21
15
votes
5 answers
jQueryUI sortable on table rows shrinks them while being dragged
This issue of table rows shrinking while dragged in the sortable function troubles me for a long time. Any answer? (Q&A)
P.S. in order for sortable to work at all on tables you MUST use TBODY around the table rows you wish to sort and then call the…

Yossi
- 372
- 1
- 2
- 13
14
votes
2 answers
How to shrink Azure SQL server DB (18MB of data charged for 5GB of server space already)
I have problem with Azure SQL DB.
Bacpack export of DB is only 18MB but charged DB size of server exceeds 5GB already.
Is there any way to see actual size of data?
Is there any way to move DB to simple recovery model?
Or is there any other way to…

Pekka Ylenius
- 498
- 1
- 3
- 13
12
votes
4 answers
Shrink int array C
Just started to learn C and came across the following issue:
I need to shrink an integer array in C, removing elements at the end. By removing I mean freeing. The common answer is to allocate new memory for the smaller array, after which to copy all…

Joeri van Veen
- 202
- 1
- 2
- 9
10
votes
1 answer
What does R8 Full Mode really do? (aggressive optimizations)
The R8 official documentation says that to activate additional optimizations I must insert this in the gradle.properties file:
android.enableR8.fullMode=true
The documentation says that in order to make the App to work I must set some keep rules…

user2342558
- 5,567
- 5
- 33
- 54
10
votes
3 answers
shrink (truncate) file from beginning on linux
Is it possible in Linux (and/or on other Unix) 'shrink' file from beginning? I'd like to use it for persistent queue (no existing implementation suits my needs). From end of file I guess it's possible with truncate().

woky
- 4,686
- 9
- 36
- 44
10
votes
1 answer
Make flex container with columns shrink-to-fit
Assume we have a container, whose children have to fill it in columns. The container is limited in height and has to be as wide/narrow as need for all the descendants to fit. It should look like this:
To make this I try flexbox. The question is: is…

bonflash
- 714
- 6
- 17
10
votes
2 answers
Shrink image before uploading with javascript
I'm writing a cross-platform mobile application using phonegap,
and i have a file-upload input for image uploading of single images.
The problem is that most pictures being uploaded are ones taken using the mobile phone which are around 4MB in…

shaharmor
- 1,636
- 3
- 14
- 26
9
votes
3 answers
How to shrink navigation menu when scrolling down?
For a new site I am developing I would love to shrink the navigation menu when the user scrolls down.
Something similar to what you can see at the IBM site: http://www.ibm.com/us/en/
I couldn't find any jQuery implementation or tutorial around (I…

JordanBelf
- 3,208
- 9
- 47
- 80
8
votes
2 answers
How do android:shrinkColumns and android:stretchColumns work?
I can set android:shrinkColumns and android:stretchColumns at TableLayout.
For example:

Alex Klimashevsky
- 2,457
- 3
- 26
- 58
7
votes
1 answer
Can anyone explain the Proguard configuration setting: -keep @interface *
This is the config setting in question: -keep @interface *
This setting is referenced in this post: https://stackoverflow.com/a/17437740/367544
And here in the Proguard manual:…

Dasmowenator
- 5,505
- 5
- 36
- 50
7
votes
6 answers
How to get the first n elements of a std::map
Since there is no .resize() member function in C++ std::map I was wondering, how one can get a std::map with at most n elements.
The obvious solution is to create a loop from 0 to n and use the nth iterator as the first parameter for std::erase().
I…

Norbert
- 73
- 1
- 3
6
votes
4 answers
Programmatically determine available free space on a database?
Ok, I have tried searching around for this answer, but with no luck. I have about 50 databases on our SQL Server at work that I have to check almost every day to see if any space can be freed up via shrinking. Our drives tend to fill up a lot, so…

ryanulit
- 4,983
- 6
- 42
- 66
6
votes
2 answers
Shrink image without affecting the quality in objective c
How to shrink the image without affecting the quality programmatically.
After capture the image I want to reduce the size of that image without changing the quality in objective-c.

Arsad
- 83
- 1
- 8