Questions tagged [shrink]
249 questions
1
vote
1 answer
How to stop Proguard shrink from removing annotation parameters even though it keeps the annotation itself?
I'm only using Proguard (version 5.2.1) to shrink, not to obfuscate or optimize. Here's my…

Dasmowenator
- 5,505
- 5
- 36
- 50
1
vote
1 answer
JS: Bend height on left and right side of an image
i am trying to find a library (or another way...) that helps me out...
I have initially this image here:
but i wan to give the user the possibility to change (crop / bend) the image on the left side like this....
and on the right side like…

WEBGONDEL UG
- 147
- 1
- 2
- 12
1
vote
0 answers
What's the impact if you terminate a SHRINK SPACE CASCADE operation halfway?
I understand that space are reclaimed periodically during the operation as I see the spaced used reduced even before the entire operation is over. I tried to search online for any impact if you terminate the operation halfway due to expiring…

Keith C.
- 75
- 8
1
vote
0 answers
SQL: Procedure for rebuild and reorganize indexes like Microsoft says
I have many DBs that are currently used for insert and delete. For maintenance i create a procedure that:
-Shrink Database file (if is enabled)
-Shrink Database log file
-Search all indexes of a table that have 5% or more of fragmentation and…

Santiago
- 1,744
- 15
- 23
1
vote
1 answer
How would I modify this code to shrink the pasted image by 50%
Sub Tester()
Sheet1.Range("D5:E16").Copy
Sheet2.Activate
Sheet2.Range("A1").Select
ActiveSheet.Pictures.Paste Link:=True
Application.CutCopyMode = False
End Sub
How can I shrink the image by a factor when pasting??

Justin Roberts
- 21
- 6
1
vote
3 answers
Shrink img using javascript
I'm trying to shrink an image based off of what I learned on the mobile app SoloLearn. Please help.

1
vote
1 answer
Log file is not Shrinking on SQL Server
I wanted to shrink the log file as much as possible by the command:
DBCC SHRINKFILE ('LogFile', 10)
and get this error:
Cannot shrink log file 2 ('LogFile') because the logical log file
located at the end of the file is in use.
I tested these…

M. Rezaeyan
- 388
- 2
- 14
1
vote
0 answers
Oracle How to make insert faster
I have a table with 100 million rows and I want to make inserts to this table faster. Unfortunatelly, I cant use insert with APPEND hint, because locking table is forbidden.
Table has two indexes, so, will inserts be faster if i try to rebuild index…

Jdzel
- 159
- 1
- 3
- 17
1
vote
2 answers
Resize images automatically on window resize
I am displaying a number of input type=image. The images display as I want them to in a larger window but when the window shrinks, like on a phone, the images/row changes but not the size of each image. I posted a similar question and was told to…

user3052443
- 758
- 1
- 7
- 22
1
vote
1 answer
Shrink Oracle RDB database on OpenVMS
I have inherited a legacy OpenVMS system with an Oracle RDB database. Recently due to the backup size becoming stupidly large we have archived some of the older data out of the production database. Now we need to shrink the actual database files…

IKJ
- 11
- 2
1
vote
3 answers
Reclaim free space in partition with as little fragmentation as possible
Question:
In Sql server 2012 what is the best way to reclaim as much reserved space as possible while having as little fragmentation as possible?
Background:
Our SQL server is running low on disk space and as a part of HW+SW upgrade we are going to…

Jan
- 1,905
- 17
- 41
1
vote
1 answer
Troubleshooting memory problems due to AUTO SHRINK?
After realizing a database had the auto shrink option turned on i searched about it and i realized it is a good practice to turn it off (there are many webpages advisign this, like this one), since auto shrink is considered to cause performance…

UnDiUdin
- 14,924
- 39
- 151
- 249
1
vote
2 answers
How to make inline div elements shrink width when parent shrinks
Here is a jsfiddle showing the behavior I want to implement:
JSFiddle That Uses Flex Layout
See JSFiddle For Code
Image Showing Rightmost Div Displaying Ellipsis
You see that I have multiple div elements displayed in a row. Each div…

steve
- 11
- 3
1
vote
0 answers
Gradle task ProGuardTask can don't shrink some custom classes?
Now I build and proguard a jar in a gradle task. I do not want to shrink a specific class but expect to shrink others, because the class will be loaded dynamically, namely it's a entry.
I know a item dontshrink which will not shrink all. But how…

Victor Choy
- 4,006
- 28
- 35
1
vote
2 answers
How to shrink external lib to my own Android Library build
My library refers some big size jar, e.g. guava, math3, but i only use one or two method of them.
Could i shrink the third-part codes to my library?
Because with current aar output, my library size seems small, but for application used my lib, it…

Sarah Ma
- 141
- 1
- 6